mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-21 15:42:35 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user