mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-14 20:23:26 +00:00
upstream-merge-16484 [MDB IGNORE] (#9289)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
11
code/_helpers/logging/debug.dm
Normal file
11
code/_helpers/logging/debug.dm
Normal file
@@ -0,0 +1,11 @@
|
||||
/// Logging for config errors
|
||||
/// Rarely gets called; just here in case the config breaks.
|
||||
/proc/log_config(text, list/data)
|
||||
var/entry = "CONFIG: "
|
||||
|
||||
entry += text
|
||||
entry += " | DATA: "
|
||||
entry += data
|
||||
|
||||
WRITE_LOG(diary, entry)
|
||||
SEND_TEXT(world.log, text)
|
||||
Reference in New Issue
Block a user