|
void COGSFOUNDATION_API | Cogs::Logging::setLoggerCategory (Category category) |
| Sets the default category level for loggers created after this call.
|
|
void COGSFOUNDATION_API | Cogs::Logging::updateLoggerCategory (Category category) |
|
void | Cogs::Logging::updateMinimumCategory () |
| Internal.
|
|
void COGSFOUNDATION_API | Cogs::Logging::enableUnhandledExceptionLogging () |
| Enable catching and logging of hardware exceptions (crashes) before exiting. (Windows only - for now.)
|
|
void COGSFOUNDATION_API | Cogs::Logging::registerConsumer (Consumer *consumer) |
| Registers the specified consumer with the LogManager.
|
|
void COGSFOUNDATION_API | Cogs::Logging::unregisterConsumer (Consumer *consumer) |
| Removes the specified consumer from the LogManager.
|
|
void COGSFOUNDATION_API | Cogs::Logging::log (const char *message, const char *source, const Category category, uint32_t errorNumber) |
| Logs the given message with source and category.
|
|
void COGSFOUNDATION_API | Cogs::Logging::log (const char *source, const Category category, uint32_t errorNumber, _Printf_format_string_ const char *fmt,...) VALIDATE_ARGS(4) |
| Logs the given formatted string (using printf formatting rules) with source and category.
|
|
void COGSFOUNDATION_API | Cogs::Logging::logFileLine (const char *file, const int line, const char *source, const Category category, uint32_t errorNumber, _Printf_format_string_ const char *fmt,...) VALIDATE_ARGS(6) |
| Logs the given formatted string (using printf formatting rules) with file/line information and source and category.
|
|
void COGSFOUNDATION_API | Cogs::Logging::logArgs (const char *source, const Category category, uint32_t errorNumber, const char *fmt, va_list args) |
| Log the given formatted string with argument list.
|
|
void COGSFOUNDATION_API | Cogs::Logging::logFileLineArgs (const char *file, const int line, const char *source, const Category category, uint32_t errorNumber, const char *fmt, va_list args) |
| Log the given formatted string with argument list and file/line information.
|
|
Category COGSFOUNDATION_API | Cogs::Logging::parseCategoryString (const StringView category) |
| Utility function that takes a loglevel name as a string and returns the corresponding log level enum value.
|
|
bool COGSFOUNDATION_API | Cogs::Logging::isErrorGroup (uint32_t errorNumber, ErrorGroup group) |
| Tests whether the specified error number is from the given group.
|
|
template<size_t LEN> |
constexpr Log | Cogs::Logging::getLogger (const char(&name)[LEN]) noexcept |
|