Files
Bubberstation/code/__HELPERS/logging/pda.dm
SkyratBot 2da69ce304 [MIRROR] Split and Document Logging Procs [MDB IGNORE] (#13707)
* Split and Document Logging Procs

* Update _logging.dm

* Update atoms.dm

* Update mob_helpers.dm

* Update mob.dm

Co-authored-by: dragomagol <66640614+dragomagol@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2022-05-19 01:18:40 +01:00

17 lines
544 B
Plaintext

/// Logging for PDA messages sent
/proc/log_pda(text)
if (CONFIG_GET(flag/log_pda))
WRITE_LOG(GLOB.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_GET(flag/log_pda))
WRITE_LOG(GLOB.world_pda_log, "COMMENT: [text]")
/// Logging for chatting on modular computer channels
/proc/log_chat(text)
//same thing here
if (CONFIG_GET(flag/log_pda))
WRITE_LOG(GLOB.world_pda_log, "CHAT: [text]")