diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2021-01-26 10:41:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-26 10:41:55 +0100 |
commit | 50a94f972d26ee15fc22cce657d13023d1022905 (patch) | |
tree | 24417c741cf85061b73098a32e61ecd3749be05e /src/Logger.cpp | |
parent | Redstone: inline -> static (diff) | |
download | cuberite-50a94f972d26ee15fc22cce657d13023d1022905.tar cuberite-50a94f972d26ee15fc22cce657d13023d1022905.tar.gz cuberite-50a94f972d26ee15fc22cce657d13023d1022905.tar.bz2 cuberite-50a94f972d26ee15fc22cce657d13023d1022905.tar.lz cuberite-50a94f972d26ee15fc22cce657d13023d1022905.tar.xz cuberite-50a94f972d26ee15fc22cce657d13023d1022905.tar.zst cuberite-50a94f972d26ee15fc22cce657d13023d1022905.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 e8306aa30..434218824 100644 --- a/src/Logger.cpp +++ b/src/Logger.cpp @@ -22,7 +22,7 @@ static void WriteLogOpener(fmt::memory_buffer & Buffer) localtime_r(&rawtime, &timeinfo); #endif -#ifdef _DEBUG +#ifndef NDEBUG const auto ThreadID = std::hash<std::thread::id>()(std::this_thread::get_id()); fmt::format_to( Buffer, "[{0:04x}|{1:02d}:{2:02d}:{3:02d}] ", |