Namespaces | |
internal | |
Classes | |
struct | LogTag |
struct | LogTagAuto |
Enumerations | |
enum | LogLevel { LOG_LEVEL_SILENT = 0, LOG_LEVEL_FATAL = 1, LOG_LEVEL_ERROR = 2, LOG_LEVEL_WARNING = 3, LOG_LEVEL_INFO = 4, LOG_LEVEL_DEBUG = 5, LOG_LEVEL_VERBOSE = 6 } |
Supported logging levels and their semantic. More... | |
Functions | |
LogLevel | getLogLevel () |
Get global logging level. More... | |
cv::utils::logging::LogLevel | getLogTagLevel (const char *tag) |
void | registerLogTag (cv::utils::logging::LogTag *plogtag) |
LogLevel | setLogLevel (LogLevel logLevel) |
Set global logging level. More... | |
void | setLogTagLevel (const char *tag, cv::utils::logging::LogLevel level) |
Supported logging levels and their semantic.
Enumerator | |
---|---|
LOG_LEVEL_SILENT | for using in setLogVevel() call |
LOG_LEVEL_FATAL | Fatal (critical) error (unrecoverable internal error) |
LOG_LEVEL_ERROR | Error message. |
LOG_LEVEL_WARNING | Warning message. |
LOG_LEVEL_INFO | Info message. |
LOG_LEVEL_DEBUG | Debug message. Disabled in the "Release" build. |
LOG_LEVEL_VERBOSE | Verbose (trace) messages. Requires verbosity level. Disabled in the "Release" build. |
LogLevel cv::utils::logging::getLogLevel | ( | ) |
Get global logging level.
cv::utils::logging::LogLevel cv::utils::logging::getLogTagLevel | ( | const char * | tag | ) |
void cv::utils::logging::registerLogTag | ( | cv::utils::logging::LogTag * | plogtag | ) |
Referenced by cv::utils::logging::LogTagAuto::LogTagAuto().
Set global logging level.
void cv::utils::logging::setLogTagLevel | ( | const char * | tag, |
cv::utils::logging::LogLevel | level | ||
) |