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
32 lines
1.3 KiB
Plaintext
32 lines
1.3 KiB
Plaintext
/// Log for the garbage collector
|
|
/proc/log_subsystem_garbage(text, type, high_severity = FALSE)
|
|
#if defined(UNIT_TEST)
|
|
LOG_GITHUB_DEBUG("SSGarbage: [text]")
|
|
#else
|
|
WRITE_LOG(config.logfiles["garbage_collector_log"], "SSGarbage [text]")
|
|
send_gelf_log(text, "[time_stamp()]: [text]", high_severity ? SEVERITY_WARNING : SEVERITY_DEBUG, "GARBAGE", additional_data = list("_type" = "[type]"))
|
|
#endif
|
|
|
|
/proc/log_subsystem_garbage_warning(text, type, high_severity = FALSE)
|
|
#if defined(UNIT_TEST)
|
|
LOG_GITHUB_WARNING("SSGarbage: [text]")
|
|
#else
|
|
WRITE_LOG(config.logfiles["garbage_collector_log"], "SSGarbage [text]")
|
|
send_gelf_log(text, "[time_stamp()]: [text]", high_severity ? SEVERITY_WARNING : SEVERITY_DEBUG, "GARBAGE", additional_data = list("_type" = "[type]"))
|
|
#endif
|
|
|
|
/proc/log_subsystem_garbage_error(text, type, high_severity = FALSE)
|
|
#if defined(UNIT_TEST)
|
|
LOG_GITHUB_ERROR("SSGarbage: [text]")
|
|
#else
|
|
WRITE_LOG(config.logfiles["garbage_collector_log"], "SSGarbage [text]")
|
|
send_gelf_log(text, "[time_stamp()]: [text]", high_severity ? SEVERITY_WARNING : SEVERITY_DEBUG, "GARBAGE", additional_data = list("_type" = "[type]"))
|
|
#endif
|
|
|
|
/proc/log_subsystem_garbage_harddel(text)
|
|
#if defined(UNIT_TEST)
|
|
LOG_GITHUB_ERROR("SSGarbage HARDDEL: [text]")
|
|
#else
|
|
WRITE_LOG(config.logfiles["harddel_log"], text)
|
|
#endif
|