SSP21-CPP
Public Member Functions | List of all members
log4cpp::ILogHandler Class Referenceabstract

#include <log4cpp/ILogHandler.h>

Public Member Functions

virtual void log (ModuleId module, const char *id, LogLevel level, char const *location, char const *message)=0
 

Detailed Description

Callback interface for log messages

Definition at line 39 of file ILogHandler.h.

Member Function Documentation

◆ log()

virtual void log4cpp::ILogHandler::log ( ModuleId  module,
const char *  id,
LogLevel  level,
char const *  location,
char const *  message 
)
pure virtual

Callback method for log messages

Parameters
moduleModuleId of the logger
idstring id of the logger
levelbitfield LogLevel of the logger
locationlocation in the source of the log call
messagemessage of the log call

Implemented in log4cpp::MockLogHandler, and log4cpp::ConsolePrettyPrinter.