#include <logger.h>
Definition at line 43 of file logger.h.
| rtflann::Logger::Logger |
( |
| ) |
|
|
inlineprivate |
| rtflann::Logger::~Logger |
( |
| ) |
|
|
inlineprivate |
| int rtflann::Logger::_log |
( |
int |
level, |
|
|
const char * |
fmt, |
|
|
va_list |
arglist |
|
) |
| |
|
inlineprivate |
| void rtflann::Logger::_setDestination |
( |
const char * |
name | ) |
|
|
inlineprivate |
| static int rtflann::Logger::getLevel |
( |
| ) |
|
|
inlinestatic |
Returns the currently set logging level.
- Returns
- current logging level
Definition at line 91 of file logger.h.
| static Logger& rtflann::Logger::instance |
( |
| ) |
|
|
inlinestaticprivate |
| static int rtflann::Logger::log |
( |
int |
level, |
|
|
const char * |
fmt, |
|
|
|
... |
|
) |
| |
|
inlinestatic |
Print log message
- Parameters
-
| level | Log level |
| fmt | Message format |
- Returns
Definition at line 105 of file logger.h.
| static void rtflann::Logger::setDestination |
( |
const char * |
name | ) |
|
|
inlinestatic |
Sets the logging destination
- Parameters
-
| name | Filename or NULL for console |
Definition at line 97 of file logger.h.
| static void rtflann::Logger::setLevel |
( |
int |
level | ) |
|
|
inlinestatic |
Sets the logging level. All messages with lower priority will be ignored.
- Parameters
-
Definition at line 85 of file logger.h.
| int rtflann::Logger::logLevel |
|
private |
| FILE* rtflann::Logger::stream |
|
private |
The documentation for this class was generated from the following file: