Implementation of OutputHandler that saves messages in a file.
More...
#include <console.h>
Implementation of OutputHandler that saves messages in a file.
◆ OutputHandlerFile()
console_bridge::OutputHandlerFile::OutputHandlerFile |
( |
const char * |
filename | ) |
|
|
explicit |
The name of the file in which to save the message data.
◆ ~OutputHandlerFile()
virtual console_bridge::OutputHandlerFile::~OutputHandlerFile |
( |
void |
| ) |
|
|
virtual |
◆ log()
virtual void console_bridge::OutputHandlerFile::log |
( |
const std::string & |
text, |
|
|
LogLevel |
level, |
|
|
const char * |
filename, |
|
|
int |
line |
|
) |
| |
|
virtual |
log a message to the output handler with the given text and logging level from a specific file and line number
- Parameters
-
text | to log |
level | console_bridge log level |
filename | of the output log |
line | |
Implements console_bridge::OutputHandler.
The documentation for this class was generated from the following file: