Used to receive every log message that is generated. More...
#include "Logger.h"
Public Member Functions | |
AbstractLogNotifier () | |
virtual | ~AbstractLogNotifier () |
void | setDeleteLogNotifierLater (bool _deleteLater=true) |
Will set the delete later flag. If delete later is set, the creator keeps ownership of this object even after it is added to the LogDispatcher. | |
bool | getDeleteLogNotifierLater (void) const |
Returns true if the delete later mode is set. | |
virtual void | log (const LogMessage &_message)=0 |
Called when the a log message was created. | |
Used to receive every log message that is generated.
|
inline |
|
inlinevirtual |
|
inline |
Returns true if the delete later mode is set.
|
pure virtual |
Called when the a log message was created.
Implemented in ot::ServiceLogNotifier, ot::LogNotifierStdCout, ot::LogNotifierFileWriter, ot::ErrorWarningLogFrontendNotifier, AppBase, AppBase, and AppBase.
|
inline |
Will set the delete later flag. If delete later is set, the creator keeps ownership of this object even after it is added to the LogDispatcher.