From 152d74f5f671ec085ebfa9700ce2e7099c55220b Mon Sep 17 00:00:00 2001 From: SoundScopes Date: Tue, 28 Oct 2014 17:18:26 +0000 Subject: [PATCH] Realtime error reporting So I don't have to login to the server for that small screen --- code/__HELPERS/logging.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/__HELPERS/logging.dm b/code/__HELPERS/logging.dm index 5ffdd022..c2461eb2 100644 --- a/code/__HELPERS/logging.dm +++ b/code/__HELPERS/logging.dm @@ -9,14 +9,17 @@ /proc/error(msg) + msg_scopes("## ERROR: [msg]") world.log << "## ERROR: [msg][log_end]" //print a warning message to world.log /proc/warning(msg) + msg_scopes("## WARNING: [msg]") world.log << "## WARNING: [msg][log_end]" //print a testing-mode debug message to world.log /proc/testing(msg) + msg_scopes("## TESTING: [msg]") world.log << "## TESTING: [msg][log_end]" /proc/log_admin(text)