#include <LogHandler.h>
|
static const prt::LogLevel | ALL [ALL_COUNT] |
|
static const size_t | ALL_COUNT = 6 |
|
Interface for log event handling. Implement this if you want to handle log events yourself.
- See also
- prtx::LogFormatter
◆ getFormat()
virtual void prt::LogHandler::getFormat |
( |
bool * |
dateTime, |
|
|
bool * |
level |
|
) |
| |
|
pure virtual |
Implement this function to specify the format of the log message.
- Parameters
-
[out] | dateTime | Pointer to return whether the date and time should be added to the message. |
[out] | level | Pointer to return whether the level should be added to the message. |
◆ getLevels()
virtual const LogLevel* prt::LogHandler::getLevels |
( |
size_t * |
count | ) |
|
|
pure virtual |
Implement this function to specify the handled log levels
- Parameters
-
[out] | count | Pointer to return number of returned log levels |
- Returns
- Pointer to array with handled levels.
◆ handleLogEvent()
virtual void prt::LogHandler::handleLogEvent |
( |
const wchar_t * |
msg, |
|
|
LogLevel |
level |
|
) |
| |
|
pure virtual |
This function will be called for each log event which happens on the specified levels
The documentation for this class was generated from the following file: