mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Common: Update PCH content to include most commonly used headers
This commit is contained in:
@@ -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 */)
|
||||
|
||||
Reference in New Issue
Block a user