Files
Aurora.3/code/_helpers/logging/pda.dm
Fluffy b183188689 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
2023-08-05 21:53:11 +00:00

17 lines
605 B
Plaintext

/// Logging for PDA messages sent
/proc/log_pda(text)
if (config.logsettings["log_pda"])
WRITE_LOG(config.logfiles["world_pda_log"], "PDA: [text]")
/// Logging for newscaster comments
/proc/log_comment(text)
//reusing the PDA option because I really don't think news comments are worth a config option
if (config.logsettings["log_pda"])
WRITE_LOG(config.logfiles["world_pda_log"], "COMMENT: [text]")
/// Logging for chatting on modular computer channels
/proc/log_chat(text)
//same thing here
if (config.logsettings["log_pda"])
WRITE_LOG(config.logfiles["world_pda_log"], "PDA CHAT: [text]")