26#ifndef MYSQL_HARNESS_LOGGER_PLUGIN_INCLUDED
27#define MYSQL_HARNESS_LOGGER_PLUGIN_INCLUDED
33#include "harness_export.h"
37#include "mysql/harness/plugin.h"
71 const std::set<std::string> &names);
74 const std::string &
name,
75 std::shared_ptr<mysql_harness::logging::ExternalHandler>
handler);
The handler class is the interface for dynamically loadable storage engines.
Definition: handler.h:4666
Configuration file handler for the loader.
Definition: loader_config.h:46
Definition: registry.h:48
void HARNESS_EXPORT register_supported_external_logging_handler_names(const std::set< std::string > &names)
Definition: logger_plugin.cc:328
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:323
constexpr const char * kLoggerPluginName
Definition: logger_plugin.h:39
mysql_harness::Plugin HARNESS_EXPORT harness_plugin_logger
Definition: logger_plugin.cc:614
void HARNESS_EXPORT register_external_logging_handler(const std::string &name, std::shared_ptr< mysql_harness::logging::ExternalHandler > handler)
Definition: logger_plugin.cc:333
void HARNESS_EXPORT unregister_external_logging_handler(const std::string &name)
Definition: logger_plugin.cc:351
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:298
std::function< void()> on_switch_to_configured_loggers
Definition: logger_plugin.h:58
Logging interface for using and extending the logging subsystem.
LogLevel
Log level values.
Definition: logging.h:90
case opt name
Definition: sslopt-case.h:29