![]() |
MySQL 8.0.43
Source Code Documentation
|
Common sink that may be shared by the logging and debugging systems. More...
#include <gcs_logging.h>
Public Member Functions | |
| ~Sink_interface () override=default | |
| Define a virtual destructor as instances of this interface can be polymorphically used. More... | |
| virtual void | log_event (const std::string &message)=0 |
| The purpose of this method is to effectively log the information. More... | |
| virtual void | log_event (const char *message, size_t message_size)=0 |
| The purpose of this method is to effectively log the information. More... | |
| virtual const std::string | get_information () const =0 |
| The purpose of this method is to return information on the sink such as its location. 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... | |
Common sink that may be shared by the logging and debugging systems.
|
overridedefault |
Define a virtual destructor as instances of this interface can be polymorphically used.
|
pure virtual |
The purpose of this method is to return information on the sink such as its location.
Implemented in Gcs_output_sink, and Gcs_file_sink.
|
pure virtual |
The purpose of this method is to effectively log the information.
| [in] | message | the message to log |
| [in] | message_size | message size to log |
Implemented in Gcs_output_sink, and Gcs_file_sink.
|
pure virtual |
The purpose of this method is to effectively log the information.
| [in] | message | the message to log |
Implemented in Gcs_output_sink, and Gcs_file_sink.