diff options
author | Shauren <shauren.trinity@gmail.com> | 2016-02-23 23:41:18 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2016-02-23 23:41:18 +0100 |
commit | a0b2be6c1d0ae17ad8a17692d77f2020bbb9296e (patch) | |
tree | a2adfc1f6a921669ee57d4d966dfded3617d6078 /src/common/Logging/Log.h | |
parent | 8086a39210659c44d52fb463f5a39f047aa45685 (diff) |
Core/Logging: Force synchronous logging after io_service shutdown - fixes logging on worldserver shutdown
Diffstat (limited to 'src/common/Logging/Log.h')
-rw-r--r-- | src/common/Logging/Log.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/Logging/Log.h b/src/common/Logging/Log.h index a90481ad5d2..eafd7412a94 100644 --- a/src/common/Logging/Log.h +++ b/src/common/Logging/Log.h @@ -51,6 +51,7 @@ class Log } void Initialize(boost::asio::io_service* ioService); + void SetSynchronous(); // Not threadsafe - should only be called from main() after all threads are joined void LoadFromConfig(); void Close(); bool ShouldLog(std::string const& type, LogLevel level) const; |