diff --git a/components/detournavigator/debug.hpp b/components/detournavigator/debug.hpp index 2a19bcce85..fb8d5bd219 100644 --- a/components/detournavigator/debug.hpp +++ b/components/detournavigator/debug.hpp @@ -14,6 +14,7 @@ #include #include #include +#include class dtNavMesh; @@ -123,7 +124,7 @@ namespace DetourNavigator if (!log.isEnabled()) return; std::ostringstream stream; - stream << '[' << std::chrono::steady_clock::now() << "] "; + stream << '[' << std::chrono::steady_clock::now() << "] [" << std::this_thread::get_id() << "] "; write(stream, std::forward(values) ...); log.write(stream.str()); }