Write log messages into a log file.
More...
#include <logger.h>
Write log messages into a log file.
Definition at line 17 of file logger.h.
rosmon::Logger::Logger |
( |
const std::string & |
path, |
|
|
bool |
flush = false |
|
) |
| |
|
explicit |
Constructor.
- Parameters
-
path | Path to the output file |
Definition at line 19 of file logger.cpp.
rosmon::Logger::~Logger |
( |
| ) |
|
void rosmon::Logger::log |
( |
const LogEvent & |
event | ) |
|
FILE* rosmon::Logger::m_file = nullptr |
|
private |
bool rosmon::Logger::m_flush = false |
|
private |
The documentation for this class was generated from the following files: