28extern void cb_xcom_logger(
const int64_t level,
const char *message);
Circular buffer that can be used to asynchronously feed a sink.
Definition: gcs_logging_system.h:190
enum_gcs_error finalize()
Asynchronous circular buffer finalization method.
Definition: gcs_logging_system.cc:118
Class that defines basic logging infra-structure to be used in the test cases, for example.
Definition: gcs_basic_logging.h:36
Gcs_basic_logging()
Constructor that creates the logger, debugger and sink.
Definition: gcs_basic_logging.h:65
Gcs_default_debugger * debugger
Definition: gcs_basic_logging.h:48
Gcs_async_buffer * sink
Definition: gcs_basic_logging.h:55
Gcs_default_logger * logger
Definition: gcs_basic_logging.h:42
virtual ~Gcs_basic_logging()
Destructor that cleans up and deallocates the logger, debugger and sink.
Definition: gcs_basic_logging.h:91
int64_t saved_debug_options
Definition: gcs_basic_logging.h:60
static enum_gcs_error finalize()
Free any resource used in the debugging system.
Definition: gcs_logging_system.h:731
static enum_gcs_error initialize(Gcs_default_debugger *debugger)
Set the debugger object and initialize it by invoking its initialization method.
Definition: gcs_logging_system.h:711
static bool force_debug_options(const int64_t debug_options)
Change the current set of debug options by the new debug options expressed as an integer parameter.
Definition: gcs_logging.cc:202
static int64_t get_current_debug_options()
Get the current set of debug options.
Definition: gcs_logging.cc:87
Default debugger which is used only by GCS and XCOM.
Definition: gcs_logging_system.h:509
enum_gcs_error finalize()
Default debugger finalization method.
Definition: gcs_logging_system.cc:337
Default logger which is internally used by GCS and XCOM if nothing else is injected by Group Replicat...
Definition: gcs_logging_system.h:450
enum_gcs_error finalize() override
Default logger finalization method.
Definition: gcs_logging_system.cc:321
static enum_gcs_error finalize()
Free any resource used in the logging system.
Definition: gcs_logging.cc:43
static enum_gcs_error initialize(Logger_interface *logger)
Set the logger object and initialize it by invoking its initialization method.
Definition: gcs_logging.cc:38
Standard output sink.
Definition: gcs_logging_system.h:387
static int init_net()
Definition: gcs_xcom_utils.cc:125
Fido Client Authentication nullptr
Definition: fido_client_plugin.cc:221
int cb_xcom_debugger_check(const int64_t options)
Callback function used by XCOM to check whether a debug module is enabled or not.
Definition: gcs_xcom_interface.cc:1865
void cb_xcom_debugger(const char *format,...)
Callback function used by XCOM to write debug messages in coordination with the GCS layer.
Definition: gcs_xcom_interface.cc:1852
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 ...
Definition: gcs_xcom_interface.cc:1833
@ GCS_DEBUG_ALL
Definition: gcs_logging.h:245
@ GCS_DEBUG_NONE
Definition: gcs_logging.h:237
Definition: options.cc:48
void set_xcom_logger(xcom_logger x)
Definition: xcom_interface.cc:105
void set_xcom_debugger_check(xcom_debugger_check x)
Definition: xcom_interface.cc:109
void set_xcom_debugger(xcom_debugger x)
Definition: xcom_interface.cc:107