MCPcopy Create free account
hub / github.com/TranslucentTB/TranslucentTB / LogErrorHandler

Method LogErrorHandler

ProgramLog/log.cpp:61–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61void Log::LogErrorHandler(const std::string &message)
62{
63 if (IsDebuggerPresent())
64 {
65 static std::atomic_size_t counter = 0;
66 OutputDebugStringA(std::format("[*** LOG ERROR {:04} ***] {}\n", counter++, message).c_str());
67 }
68}
69
70bool Log::IsInitialized() noexcept
71{

Callers

nothing calls this directly

Calls 1

c_strMethod · 0.80

Tested by

no test coverage detected