OpenCV  4.0.0
Open Source Computer Vision
Namespaces | Enumerations | Functions
cv::utils::logging Namespace Reference

Namespaces

 internal
 

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 ()
 
LogLevel setLogLevel (LogLevel logLevel)
 

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.

Function Documentation

§ getLogLevel()

LogLevel cv::utils::logging::getLogLevel ( )

Get global logging level

§ setLogLevel()

LogLevel cv::utils::logging::setLogLevel ( LogLevel  logLevel)

Set global logging level

Returns
previous logging level