POLARIS: Moves daily logs into being folders rather than files

This commit is contained in:
Arokha Sieyes
2018-03-10 17:17:16 -05:00
committed by Leshana
parent 73838e0a62
commit 7f93f3cca7
8 changed files with 27 additions and 18 deletions

View File

@@ -27,7 +27,7 @@
/proc/log_debug(text)
if (config.log_debug)
diary << "\[[time_stamp()]]DEBUG: [text][log_end]"
debug_log << "\[[time_stamp()]]DEBUG: [text][log_end]"
for(var/client/C in admins)
if(C.is_preference_enabled(/datum/client_preference/debug/show_debug_logs))
@@ -112,6 +112,10 @@
if(config.log_world_output)
diary << "\[[time_stamp()]]DD_OUTPUT: [text][log_end]"
/proc/log_error(text)
world.log << text
error_log << "\[[time_stamp()]]RUNTIME: [text][log_end]"
/proc/log_misc(text)
diary << "\[[time_stamp()]]MISC: [text][log_end]"