Better logging (#16164)

* Initial

* Cleared duplicates

* More work, get rid of log_error

* more

* log_debug() to macro LOG_DEBUG

* More work

* More

* Guh

* Maybe better?

* More work

* gah

* Dear lord

* *inserts swears here*

* gdi

* More work

* More

* dear lord

* fsdfsdafs

* rsdaf

* sadfasf

* sdafsad

* fgsd

* small fuckup fix

* jfsd

* sdafasf

* gdi

* sdfa

* sfdafgds

* sdafasdvf

* sdfasdfg

* sdfsga

* asdf

* dsfasfsagf

* ihibhbjh

* fsadf

* adfas

* sdafsad

* sdfasd

* fsda

* vhb

* asf

* for arrow

* removed source file-line logging, added header for tgui
This commit is contained in:
Fluffy
2023-08-05 23:53:11 +02:00
committed by GitHub
parent 40faa01587
commit b183188689
194 changed files with 1637 additions and 877 deletions
@@ -102,7 +102,7 @@
var/datum/shuttle/autodock/ferry/supply/shuttle = SScargo.shuttle
if (!shuttle)
log_debug("## ERROR: Eek. The supply/shuttle datum is missing somehow.")
LOG_DEBUG("## ERROR: Eek. The supply/shuttle datum is missing somehow.")
return
switch(action)
@@ -113,11 +113,11 @@
status_message = co.add_item(coi)
else
status_message = "Unable to add item [text2num(params["add_item"])] - Internal Error 601."
log_debug("Cargo Order: Warning - Attempted to order item [coi.ci.name] with invalid purchase price")
LOG_DEBUG("Cargo Order: Warning - Attempted to order item [coi.ci.name] with invalid purchase price")
qdel(coi)
else
status_message = "Unable to locate item in sales database - Internal Error 602."
log_debug("Cargo Order: Warning - Attempted to order item with non-existant id: [params["add_item"]]")
LOG_DEBUG("Cargo Order: Warning - Attempted to order item with non-existant id: [params["add_item"]]")
qdel(coi)
return TRUE