[Base] Shutdown the logger to prevent truncation of output

This commit is contained in:
DrChat
2018-03-03 19:00:04 -06:00
parent 157c7780af
commit 4fd03e8029
3 changed files with 27 additions and 2 deletions

View File

@@ -29,6 +29,7 @@ enum class LogLevel {
// Initializes the logging system and any outputs requested.
// Must be called on startup.
void InitializeLogging(const std::wstring& app_name);
void ShutdownLogging();
// Appends a line to the log with printf-style formatting.
void LogLineFormat(LogLevel log_level, const char prefix_char, const char* fmt,