mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-22 16:12:19 +00:00
* 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
49 lines
1.5 KiB
Plaintext
49 lines
1.5 KiB
Plaintext
/// Logging for generic/unsorted game messages
|
|
/proc/_log_game(text)
|
|
if (config.logsettings["log_game"])
|
|
WRITE_LOG(config.logfiles["world_game_log"], "GAME: [text]")
|
|
|
|
/proc/log_game_mode(text)
|
|
// SUppress this in case of unit tests, it's essentially useless
|
|
#if defined(UNIT_TEST)
|
|
LOG_GITHUB_DEBUG("GAMEMODE: [text]")
|
|
#else
|
|
if (config.logsettings["log_game"])
|
|
WRITE_LOG(config.logfiles["world_game_log"], "GAMEMODE: [text]")
|
|
#endif
|
|
|
|
/// Logging for emotes
|
|
/proc/_log_emote(text)
|
|
#if defined(UNIT_TEST)
|
|
LOG_GITHUB_DEBUG("EMOTE: [text]")
|
|
#else
|
|
if (config.logsettings["log_emote"])
|
|
WRITE_LOG(config.logfiles["world_game_log"], "EMOTE: [text]")
|
|
#endif
|
|
|
|
/// Logging for emotes sent over the radio
|
|
/proc/log_radio_emote(text)
|
|
if (config.logsettings["log_emote"])
|
|
WRITE_LOG(config.logfiles["world_game_log"], "RADIOEMOTE: [text]")
|
|
|
|
/// Logging for messages sent in OOC
|
|
/proc/_log_ooc(text)
|
|
if (config.logsettings["log_ooc"])
|
|
WRITE_LOG(config.logfiles["world_game_log"], "OOC: [text]")
|
|
|
|
/// Logging for prayed messages
|
|
/proc/log_prayer(text)
|
|
if (config.logsettings["log_prayer"])
|
|
WRITE_LOG(config.logfiles["world_game_log"], "PRAY: [text]")
|
|
|
|
/// Logging for logging in & out of the game, with error messages.
|
|
/proc/_log_access(text)
|
|
if (config.logsettings["log_access"])
|
|
WRITE_LOG(config.logfiles["world_game_log"], "ACCESS: [text]")
|
|
|
|
/// Logging for OOC votes
|
|
/proc/_log_vote(text)
|
|
if (config.logsettings["log_vote"])
|
|
WRITE_LOG(config.logfiles["world_game_log"], "VOTE: [text]")
|
|
|