Implementation of OutputHandler that saves messages in a file. More...
#include <console.h>
Public Member Functions | |
virtual void | log (const std::string &text, LogLevel level, const char *filename, int line) |
log a message to the output handler with the given text and logging level from a specific file and line number More... | |
OutputHandlerFile (const char *filename) | |
The name of the file in which to save the message data. More... | |
virtual | ~OutputHandlerFile (void) |
Public Member Functions inherited from console_bridge::OutputHandler | |
OutputHandler (void) | |
virtual | ~OutputHandler (void) |
Private Attributes | |
FILE * | file_ |
The file to save to. More... | |
Implementation of OutputHandler that saves messages in a file.
console_bridge::OutputHandlerFile::OutputHandlerFile | ( | const char * | filename | ) |
The name of the file in which to save the message data.
Definition at line 181 of file console.cpp.
|
virtual |
Definition at line 193 of file console.cpp.
|
virtual |
log a message to the output handler with the given text and logging level from a specific file and line number
Implements console_bridge::OutputHandler.
Definition at line 200 of file console.cpp.
|
private |