|
| MockLogHandler (const std::string &id, LogLevels levels=LogLevels::everything()) |
|
void | print_output () |
|
virtual void | log (ModuleId module, const char *id, LogLevel level, char const *location, char const *message) override |
|
template<typename... Args> |
void | expect (const std::string &expected, const Args &... args) |
|
void | expect () |
|
Definition at line 38 of file MockLogHandler.h.
◆ log()
virtual void log4cpp::MockLogHandler::log |
( |
ModuleId |
module, |
|
|
const char * |
id, |
|
|
LogLevel |
level, |
|
|
char const * |
location, |
|
|
char const * |
message |
|
) |
| |
|
inlineoverridevirtual |
Callback method for log messages
- Parameters
-
module | ModuleId of the logger |
id | string id of the logger |
level | bitfield LogLevel of the logger |
location | location in the source of the log call |
message | message of the log call |
Implements log4cpp::ILogHandler.
Definition at line 67 of file MockLogHandler.h.