Files
Fluffy 78348238a3 Removed the GELF logging infrastructure (#19577)
Removed the gelf logging infrastructure.
Refactored the various logging procs to be a direct call in light of the
above.
Removed ancilliary UDP related things.
2024-07-08 12:48:16 +00:00

29 lines
880 B
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(GLOB.config.logfiles["garbage_collector_log"], "SSGarbage [text]")
#endif
/proc/log_subsystem_garbage_warning(text, type, high_severity = FALSE)
#if defined(UNIT_TEST)
LOG_GITHUB_WARNING("SSGarbage: [text]")
#else
WRITE_LOG(GLOB.config.logfiles["garbage_collector_log"], "SSGarbage [text]")
#endif
/proc/log_subsystem_garbage_error(text, type, high_severity = FALSE)
#if defined(UNIT_TEST)
LOG_GITHUB_ERROR("SSGarbage: [text]")
#else
WRITE_LOG(GLOB.config.logfiles["garbage_collector_log"], "SSGarbage [text]")
#endif
/proc/log_subsystem_garbage_harddel(text)
#if defined(UNIT_TEST)
LOG_GITHUB_ERROR("SSGarbage HARDDEL: [text]")
#else
WRITE_LOG(GLOB.config.logfiles["harddel_log"], text)
#endif