mirror of https://github.com/AxioDL/logvisor.git
Fix compiling on linux
This commit is contained in:
parent
ed3714e55c
commit
274ad5ef07
|
@ -33,6 +33,7 @@
|
||||||
#include <cinttypes>
|
#include <cinttypes>
|
||||||
#include <csignal>
|
#include <csignal>
|
||||||
#include <locale>
|
#include <locale>
|
||||||
|
#include <optional>
|
||||||
#include "logvisor/logvisor.hpp"
|
#include "logvisor/logvisor.hpp"
|
||||||
|
|
||||||
#if SENTRY_ENABLED
|
#if SENTRY_ENABLED
|
||||||
|
@ -822,7 +823,7 @@ struct ConsoleLogger : public ILogger {
|
||||||
if (sourceInfo)
|
if (sourceInfo)
|
||||||
fmt::print(stderr, FMT_STRING(L" {{}}"), sourceInfo);
|
fmt::print(stderr, FMT_STRING(L" {{}}"), sourceInfo);
|
||||||
if (thrName)
|
if (thrName)
|
||||||
fmt::print(stderr, FMT_STRING(L" ({})"), thrName);
|
fmt::print(stderr, FMT_STRING(L" ({})"), *thrName);
|
||||||
std::fputws(L"] ", stderr);
|
std::fputws(L"] ", stderr);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue