Generic class to handle output from a piece of code. More...
#include <console.h>
Public Member Functions | |
virtual void | log (const std::string &text, LogLevel level, const char *filename, int line)=0 |
log a message to the output handler with the given text and logging level from a specific file and line number More... | |
OutputHandler (void) | |
virtual | ~OutputHandler (void) |
Generic class to handle output from a piece of code.
In order to handle output from the library in different ways, an implementation of this class needs to be provided. This instance can be set with the useOutputHandler function.
|
inline |
|
inlinevirtual |
|
pure virtual |
log a message to the output handler with the given text and logging level from a specific file and line number
Implemented in console_bridge::OutputHandlerFile, and console_bridge::OutputHandlerSTD.