Rust-G integration. Makes logging procs 2-3 times less expensive (EVEN WITH CALL OVERHEAD). tgstation/tgstation#36858

This commit is contained in:
tigercat2000
2018-04-19 15:08:59 -08:00
parent 2364b0332b
commit a2507f589d
8 changed files with 67 additions and 83 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ GLOBAL_REAL(Master, /datum/controller/master) = new
/datum/controller/master/New()
makeDatumRefLists()
//temporary file used to record errors with loading config, moved to log directory once logging is set up
GLOB.config_error_log = GLOB.world_game_log = GLOB.world_runtime_log = file("data/logs/config_error.log")
GLOB.config_error_log = GLOB.world_game_log = GLOB.world_runtime_log = "data/logs/config_error.log"
load_configuration()
// Highlander-style: there can only be one! Kill off the old and replace it with the new.