MySQL 8.0.39
Source Code Documentation
|
#include "plugin/group_replication/libmysqlgcs/include/mysql/gcs/gcs_logging_system.h"
#include "plugin/group_replication/libmysqlgcs/include/mysql/gcs/xplatform/my_xp_util.h"
#include "plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_interface.h"
#include "plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_utils.h"
Go to the source code of this file.
Classes | |
class | Gcs_basic_logging |
Class that defines basic logging infra-structure to be used in the test cases, for example. More... | |
Functions | |
void | cb_xcom_logger (const int64_t level, const char *message) |
Callback function used by XCOM to write information, warning and error messages in coordination with the GCS layer. More... | |
void | cb_xcom_debugger (const char *format,...) |
Callback function used by XCOM to write debug messages in coordination with the GCS layer. More... | |
int | cb_xcom_debugger_check (const int64_t options) |
Callback function used by XCOM to check whether a debug module is enabled or not. More... | |
void cb_xcom_debugger | ( | const char * | format, |
... | |||
) |
Callback function used by XCOM to write debug messages in coordination with the GCS layer.
The variadic signature allows XCOM to call this function without forcing any preliminary processing on the message, meaning that the cost is minimal and there is no need to use an intermediate buffer. The GCS layer will then be responsible for writing the message content directly to the final buffer.
int cb_xcom_debugger_check | ( | const int64_t | options | ) |
Callback function used by XCOM to check whether a debug module is enabled or not.
void cb_xcom_logger | ( | const int64_t | level, |
const char * | message | ||
) |
Callback function used by XCOM to write information, warning and error messages in coordination with the GCS layer.