OpenCV  4.6.0-dev
Open Source Computer Vision
Namespaces | Classes | Enumerations | Functions
cv::utils::logging Namespace Reference

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 ()
 
cv::utils::logging::LogLevel getLogTagLevel (const char *tag)
 
void registerLogTag (cv::utils::logging::LogTag *plogtag)
 
LogLevel setLogLevel (LogLevel logLevel)
 
void setLogTagLevel (const char *tag, cv::utils::logging::LogLevel level)
 

Enumeration Type Documentation

◆ LogLevel

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.