diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-10-19 01:29:34 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-10-19 01:29:34 +0200 |
commit | 6d5a8892f34f4034b38da467268de9d489e1024e (patch) | |
tree | 787fe7d59be7e54a74fcc597eb6e59cf4523ee67 /src/Logger.cpp | |
parent | InfoDump: Fixed trailing whitespace. (diff) | |
download | cuberite-6d5a8892f34f4034b38da467268de9d489e1024e.tar cuberite-6d5a8892f34f4034b38da467268de9d489e1024e.tar.gz cuberite-6d5a8892f34f4034b38da467268de9d489e1024e.tar.bz2 cuberite-6d5a8892f34f4034b38da467268de9d489e1024e.tar.lz cuberite-6d5a8892f34f4034b38da467268de9d489e1024e.tar.xz cuberite-6d5a8892f34f4034b38da467268de9d489e1024e.tar.zst cuberite-6d5a8892f34f4034b38da467268de9d489e1024e.zip |
Diffstat (limited to 'src/Logger.cpp')
-rw-r--r-- | src/Logger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Logger.cpp b/src/Logger.cpp index cb528e8ab..fad4a5e75 100644 --- a/src/Logger.cpp +++ b/src/Logger.cpp @@ -45,7 +45,7 @@ void cLogger::LogSimple(AString a_Message, eLogLevel a_LogLevel) AString Line; #ifdef _DEBUG - Printf(Line, "[%04lx|%02d:%02d:%02d] %s\n", cIsThread::GetCurrentID(), timeinfo->tm_hour, timeinfo->tm_min, timeinfo->tm_sec, a_Message.c_str()); + Printf(Line, "[%04lx|%02d:%02d:%02d] %s\n", std::this_thread::get_id().hash(), timeinfo->tm_hour, timeinfo->tm_min, timeinfo->tm_sec, a_Message.c_str()); #else Printf(Line, "[%02d:%02d:%02d] %s\n", timeinfo->tm_hour, timeinfo->tm_min, timeinfo->tm_sec, a_Message.c_str()); #endif |