MySQL 9.1.0
Source Code Documentation
|
Group Replication implementation of Logger_interface. More...
#include <gcs_logger.h>
Public Member Functions | |
Gcs_gr_logger_impl ()=default | |
Constructor. More... | |
~Gcs_gr_logger_impl () override=default | |
Destructor. More... | |
enum_gcs_error | initialize () override |
Initialize the logger. More... | |
enum_gcs_error | finalize () override |
Finalize the logger. More... | |
void | log_event (const gcs_log_level_t level, const std::string &message) override |
Log a message using the specified level. More... | |
Public Member Functions inherited from Logger_interface | |
~Logger_interface () override=default | |
Define a virtual destructor as instances of this interface can be polymorphically used. 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... | |
Private Member Functions | |
Gcs_gr_logger_impl (Gcs_gr_logger_impl &l) | |
Gcs_gr_logger_impl & | operator= (const Gcs_gr_logger_impl &l) |
Group Replication implementation of Logger_interface.
Once a instance of this logger is set at Gcs_interface, all log produced by MySQL GCS will be routed by this logger to MySQL error log.
|
default |
Constructor.
|
overridedefault |
Destructor.
|
private |
|
overridevirtual |
Finalize the logger.
GCS_OK | Success |
GCS_NOK | Error |
Implements Common_interface.
|
overridevirtual |
Initialize the logger.
GCS_OK | Success |
GCS_NOK | Error |
Implements Common_interface.
|
overridevirtual |
Log a message using the specified level.
[in] | level | logging level of message |
[in] | message | the message to log |
Implements Logger_interface.
|
private |