MySQL 8.4.2
Source Code Documentation
|
Logger interface that must be used to define a logger object. More...
#include <gcs_logging.h>
Public Member Functions | |
~Logger_interface () override=default | |
Define a virtual destructor as instances of this interface can be polymorphically used. More... | |
virtual void | log_event (const gcs_log_level_t level, const std::string &message)=0 |
The purpose of this method is to deliver to the logging system any message to be logged. More... | |
Public Member Functions inherited from Common_interface | |
virtual | ~Common_interface ()=default |
Define a virtual destructor as instances of this interface can be polymorphically used. More... | |
virtual enum_gcs_error | initialize ()=0 |
The purpose of this method is to initialize resources used by the objects that implement this interface. More... | |
virtual enum_gcs_error | finalize ()=0 |
The purpose of this method is to free any resources used by the objects that implement this interface. More... | |
Logger interface that must be used to define a logger object.
|
overridedefault |
Define a virtual destructor as instances of this interface can be polymorphically used.
|
pure virtual |
The purpose of this method is to deliver to the logging system any message to be logged.
[in] | level | logging level of message |
[in] | message | the message to be logged |
Implemented in Gcs_gr_logger_impl, and Gcs_default_logger.