DD stdout logging (#18748)

* DD stdout logging

* Update code/game/world.dm

Co-authored-by: Sirryan2002 <80364400+Sirryan2002@users.noreply.github.com>

Co-authored-by: Sirryan2002 <80364400+Sirryan2002@users.noreply.github.com>
This commit is contained in:
AffectedArc07
2022-08-09 10:14:58 +01:00
committed by GitHub
co-authored by Sirryan2002
parent f1884b3c71
commit df6ca2796c
+3
View File
@@ -42,6 +42,9 @@ GLOBAL_LIST_INIT(map_transition_config, list(CC_TRANSITION_CONFIG))
GLOB.revision_info.log_info()
load_admins(run_async = FALSE) // This better happen early on.
if(TgsAvailable())
world.log = file("[GLOB.log_directory]/dd.log") //not all runtimes trigger world/Error, so this is the only way to ensure we can see all of them.
#ifdef UNIT_TESTS
log_world("Unit Tests Are Enabled!")
#endif