8 FConsolePath(u8
"stdout/stderr"),
13 if (ALevel != Level::DEV || FDevLog.load(std::memory_order_relaxed)) {
14 const char* LevelString;
18 LevelString =
": Debug: ";
21 LevelString =
": Info: ";
24 LevelString =
": Warning: ";
27 LevelString =
": ERROR: ";
35 auto Now(localtime(&Time));
36 const auto Hour(Now->tm_hour), Min(Now->tm_min), Sec(Now->tm_sec);
38 memset(Buffer, 0, 50);
40 const auto Length(sprintf(Buffer, u8
"[%02d:%02d:%02d]", Hour, Min, Sec));
48 WriteOut(AMessage, IsError);
60 FDevLog.store(AEnable, std::memory_order_release);
A RAII locking mechanism.
A string pointing to unchanging data in the stack above it or the data segment. Must have UTF-8 encod...
static void LessThan(const AType &ALHS, const AType &ARHS) noexcept
Less than assertion function. May not be evaluated.
A basic char contained string.
Precompiled header for inter-engine operations.
Level
The severity of the log.
Exceptions indicating an API contract violation. Should not be anticipated.
An operation was attempted with an invalid enum code.