| OpenCV 3.4.3 Open Source Computer Vision

Static Public Member Functions | List of all members
cvflann::Logger Class Reference

`#include "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,...)
static void | setDestination (const char *name)
static void | setLevel (int level)
static int | warn (const char *fmt,...)

## Member Function Documentation

## § error()

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

## § fatal()

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

## § info()

static int cvflann::Logger::info | ( | const char * | fmt,
|  |  | ...
| ) |  |
| inline static

## § log()

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

Print log message

Parameters

  level | Log level
  fmt | Message format

Returns

## § setDestination()

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

Sets the logging destination

Parameters

  name | Filename or NULL for console

## § setLevel()

static void cvflann::Logger::setLevel | ( | int | level | ) |
| inline static

Sets the logging level. All messages with lower priority will be ignored.

Parameters

  level | Logging level

## § warn()

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

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

- flann/include/opencv2/flann/logger.h