#include <logger.h>
Public Member Functions | |
| LOG_METHOD (fatal, FLANN_LOG_FATAL) LOG_METHOD(error | |
| FLANN_LOG_ERROR | LOG_METHOD (warn, FLANN_LOG_WARN) LOG_METHOD(info |
Static Public Member Functions | |
| static void | setLevel (int level) |
| static void | setDestination (const char *name) |
| static int | log (int level, const char *fmt,...) |
| static void cvflann::Logger::setLevel | ( | int | level | ) | [static] |
Sets the logging level. All messages with lower priority will be ignored.
| level | Logging level |
| static void cvflann::Logger::setDestination | ( | const char * | name | ) | [static] |
Sets the logging destination
| name | Filename or NULL for console |
| static int cvflann::Logger::log | ( | int | level, |
| const char * | fmt, | ||
| ... | |||
| ) | [static] |
Print log message
| level | Log level |
| fmt | Message format |
| cvflann::Logger::LOG_METHOD | ( | fatal | , |
| FLANN_LOG_FATAL | |||
| ) |