26#ifndef MYSQL_HARNESS_LOGGER_PLUGIN_INCLUDED
27#define MYSQL_HARNESS_LOGGER_PLUGIN_INCLUDED
32#include "harness_export.h"
36#include "mysql/harness/plugin.h"
Configuration file handler for the loader.
Definition: loader_config.h:46
Definition: registry.h:47
void HARNESS_EXPORT register_on_switch_to_configured_loggers_callback(on_switch_to_configured_loggers callback)
Registers the callback that the plugin will execute once it is finished with initialization and switc...
Definition: logger_plugin.cc:306
constexpr const char * kLoggerPluginName
Definition: logger_plugin.h:38
mysql_harness::Plugin HARNESS_EXPORT harness_plugin_logger
Definition: logger_plugin.cc:566
void HARNESS_EXPORT create_plugin_loggers(const mysql_harness::LoaderConfig &config, mysql_harness::logging::Registry ®istry, const mysql_harness::logging::LogLevel level)
Creates the logging handler for each plugin from the configuration.
Definition: logger_plugin.cc:281
std::function< void()> on_switch_to_configured_loggers
Definition: logger_plugin.h:57
Logging interface for using and extending the logging subsystem.
LogLevel
Log level values.
Definition: logging.h:90