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

View File

@@ -116,7 +116,7 @@
return TRUE
/datum/topic_command/update_command_database/proc/api_update_command_database()
log_debug("API: DB Command Update Called")
LOG_DEBUG("API: DB Command Update Called")
//Check if DB Connection is established
if (!establish_db_connection(dbcon))
response = "Database connection lost, cannot update commands."
@@ -130,7 +130,7 @@
var/datum/topic_command/command = topic_commands[com]
commandinsertquery.Execute(list("command_name" = command.name, "command_description" = command.description))
log_debug("API: DB Command Update Executed")
LOG_DEBUG("API: DB Command Update Executed")
response = "Commands successfully updated."
return TRUE //OK