Core/Common: Update PCH content to include most commonly used headers

This commit is contained in:
Shauren
2025-06-11 16:35:31 +02:00
parent 2abf19e832
commit 1ae7cdd512
8 changed files with 28 additions and 38 deletions

View File

@@ -19,7 +19,6 @@
#include "AppenderConsole.h"
#include "AppenderFile.h"
#include "Config.h"
#include "Duration.h"
#include "Errors.h"
#include "LogMessage.h"
#include "LogOperation.h"
@@ -263,8 +262,7 @@ Logger const* Log::GetLoggerByType(std::string_view type) const
std::string Log::GetTimestampStr()
{
time_t tt = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now());
return TimeToTimestampStr(tt);
return TimeToTimestampStr(time(nullptr));
}
bool Log::SetLogLevel(std::string const& name, int32 newLeveli, bool isLogger /* = true */)