OpenCPN Partial API docs
|
Transient logger class, instantiated/used by the LOG macros. More...
#include <logger.h>
Public Member Functions | |
void | logRecord (wxLogLevel level, const char *msg, const wxLogRecordInfo info) |
DoLogRecord public wrapper. More... | |
std::ostream & | get (wxLogLevel level, const char *path, int line) |
Static Public Member Functions | |
static void | logMessage (wxLogLevel level, const char *path, int line, const char *fmt,...) |
Protected Attributes | |
std::stringstream | os |
wxLogRecordInfo | info |
wxLogLevel | level |
Transient logger class, instantiated/used by the LOG macros.
Logger::Logger | ( | ) |
Definition at line 101 of file logger.cpp.
Logger::~Logger | ( | ) |
Definition at line 103 of file logger.cpp.
std::ostream & Logger::get | ( | wxLogLevel | level, |
const char * | path, | ||
int | line | ||
) |
Definition at line 112 of file logger.cpp.
|
static |
Definition at line 128 of file logger.cpp.
void Logger::logRecord | ( | wxLogLevel | level, |
const char * | msg, | ||
const wxLogRecordInfo | info | ||
) |
DoLogRecord public wrapper.
Definition at line 119 of file logger.cpp.