mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-28 17:11:29 +00:00
Fix undefined behavior in log aliases
making an inline global variable doesn't work around the fact that this variable still has to be initialized at some point. Unfortunately, logging may be called upon during static init because we use rules inside of static initializers, and rules can log. So we must always retrieve the logger when we want to log something. it should be fairly cheap anyways.
This commit is contained in:
parent
b56c2421b4
commit
af6c3ec97d
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user