|
Bicameral Engine
GPU-resident engine for a magic-research open-world game
|
Classes | |
| class | ConsoleSink |
| class | DebuggerSink |
| class | FileSink |
Functions | |
| std::string_view | ColorOf (Level level) |
| std::string | DescribeErrorCode (const std::error_code &error) |
| std::tm | LocalNow () |
| bool | IsLogFileName (const fs::path &path) |
| void | RemoveOldLogFiles (const fs::path &directory) |
Variables | |
| constexpr size_t | MAX_LOG_FILES = 20 |
| constexpr std::wstring_view | LOG_FILE_PREFIX = L"bicameral-" |
| constexpr std::wstring_view | LOG_FILE_EXTENSION = L".log" |
| std::string_view bicameral::anonymous_namespace{log_sinks.cpp}::ColorOf | ( | Level | level | ) |
Definition at line 31 of file log_sinks.cpp.
References ColorOf(), bicameral::Debug, bicameral::Error, bicameral::Fatal, bicameral::Trace, and bicameral::Warning.
Referenced by ColorOf(), and bicameral::anonymous_namespace{log_sinks.cpp}::ConsoleSink::Write().
| std::string bicameral::anonymous_namespace{log_sinks.cpp}::DescribeErrorCode | ( | const std::error_code & | error | ) |
Definition at line 120 of file log_sinks.cpp.
References DescribeErrorCode(), and bicameral::DescribeHresult().
Referenced by DescribeErrorCode().
| bool bicameral::anonymous_namespace{log_sinks.cpp}::IsLogFileName | ( | const fs::path & | path | ) |
Definition at line 134 of file log_sinks.cpp.
References IsLogFileName(), LOG_FILE_EXTENSION, and LOG_FILE_PREFIX.
Referenced by IsLogFileName(), and RemoveOldLogFiles().
| std::tm bicameral::anonymous_namespace{log_sinks.cpp}::LocalNow | ( | ) |
Definition at line 126 of file log_sinks.cpp.
References LocalNow().
Referenced by LocalNow().
| void bicameral::anonymous_namespace{log_sinks.cpp}::RemoveOldLogFiles | ( | const fs::path & | directory | ) |
Definition at line 141 of file log_sinks.cpp.
References IsLogFileName(), MAX_LOG_FILES, and RemoveOldLogFiles().
Referenced by RemoveOldLogFiles().
|
constexpr |
Definition at line 26 of file log_sinks.cpp.
Referenced by IsLogFileName().
|
constexpr |
Definition at line 25 of file log_sinks.cpp.
Referenced by IsLogFileName().
|
constexpr |
Definition at line 24 of file log_sinks.cpp.
Referenced by RemoveOldLogFiles().