Logging Macros¶
-
group
LoggingMacros This group consists of all the macros used for logging.
Debug Logging Macros¶
-
group
DebugLoggingMacros This group consists of all the macros used for logging only in debug mode.
Defines
-
SHRN_INFO(section, ...)¶ Calls
Shroon::Logger::LogInfo()when macroNDEBUGis not defined i.e. in debug mode and whenSHRN_LOG_LEVEL >= SHRN_LOG_LEVEL_INFO.
-
SHRN_WARNING(section, ...)¶ Calls
Shroon::Logger::LogWarning()when macroNDEBUGis not defined i.e. in debug mode and whenSHRN_LOG_LEVEL >= SHRN_LOG_LEVEL_WARNING.
-
SHRN_ERROR(section, ...)¶ Calls
Shroon::Logger::LogError()when macroNDEBUGis not defined i.e. in debug mode and whenSHRN_LOG_LEVEL >= SHRN_LOG_LEVEL_ERROR.
-
SHRN_ASSERT(cond, section, ...)¶ Calls
Shroon::Logger::LogFatalError()when macroNDEBUGis not defined i.e. in debug mode and whenSHRN_LOG_LEVEL >= SHRN_LOG_LEVEL_ERRORotherwise callsSHRN_DEBUG_BREAK().
-
Release Logging Macros¶
-
group
ReleaseLoggingMacros This group consists of all the macros used for logging in both debug and release mode.
Defines
-
SHRN_REL_INFO(section, ...)¶ Calls
Shroon::Logger::LogInfo()whenSHRN_LOG_LEVEL >= SHRN_LOG_LEVEL_INFO.
-
SHRN_REL_WARNING(section, ...)¶ Calls
Shroon::Logger::LogWarning()whenSHRN_LOG_LEVEL >= SHRN_LOG_LEVEL_WARNING.
-
SHRN_REL_ERROR(section, ...)¶ Calls
Shroon::Logger::LogError()whenSHRN_LOG_LEVEL >= SHRN_LOG_LEVEL_ERROR.
-
SHRN_REL_ASSERT(cond, section, ...)¶ Calls
Shroon::Logger::LogFatalError()whenSHRN_LOG_LEVEL >= SHRN_LOG_LEVEL_ERRORotherwise callsSHRN_DEBUG_BREAK().
-