OpenCV  4.1.1-pre
Open Source Computer Vision
Looking for a C++ dev who knows OpenCV?
I'm looking for work. Hire me!
cvflann::Logger Class Reference

#include <opencv2/flann/logger.h>

Static Public Member Functions

static int error (const char *fmt,...)
 
static int fatal (const char *fmt,...)
 
static int info (const char *fmt,...)
 
static int log (int level, const char *fmt,...)
 Print log message. More...
 
static void setDestination (const char *name)
 Sets the logging destination. More...
 
static void setLevel (int level)
 Sets the logging level. More...
 
static int warn (const char *fmt,...)
 

Member Function Documentation

◆ error()

static int cvflann::Logger::error ( const char *  fmt,
  ... 
)
inlinestatic

◆ fatal()

static int cvflann::Logger::fatal ( const char *  fmt,
  ... 
)
inlinestatic

◆ info()

◆ log()

static int cvflann::Logger::log ( int  level,
const char *  fmt,
  ... 
)
inlinestatic

Print log message.

Parameters
levelLog level
fmtMessage format
Returns

◆ setDestination()

static void cvflann::Logger::setDestination ( const char *  name)
inlinestatic

Sets the logging destination.

Parameters
nameFilename or NULL for console

◆ setLevel()

static void cvflann::Logger::setLevel ( int  level)
inlinestatic

Sets the logging level.

All messages with lower priority will be ignored.

Parameters
levelLogging level

Referenced by cvflann::log_verbosity().

Here is the caller graph for this function:

◆ warn()

static int cvflann::Logger::warn ( const char *  fmt,
  ... 
)
inlinestatic

The documentation for this class was generated from the following file: