25#ifndef MYSQL_HARNESS_LOGGER_PLUGIN_INCLUDED
26#define MYSQL_HARNESS_LOGGER_PLUGIN_INCLUDED
31#include "harness_export.h"
35#include "mysql/harness/plugin.h"
Configuration file handler for the loader.
Definition: loader_config.h:45
Definition: registry.h:46
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:269
constexpr const char * kLoggerPluginName
Definition: logger_plugin.h:37
mysql_harness::Plugin HARNESS_EXPORT harness_plugin_logger
Definition: logger_plugin.cc:441
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:244
std::function< void()> on_switch_to_configured_loggers
Definition: logger_plugin.h:56
Logging interface for using and extending the logging subsystem.
LogLevel
Log level values.
Definition: logging.h:95