#include <array>
#include <functional>
#include "harness_export.h"
#include "mysql/harness/loader_config.h"
#include "mysql/harness/logging/logging.h"
#include "mysql/harness/logging/registry.h"
#include "mysql/harness/plugin.h"
 
Go to the source code of this file.
◆ on_switch_to_configured_loggers
◆ create_plugin_loggers()
Creates the logging handler for each plugin from the configuration. 
- Parameters
 - 
  
    | config | configuration containing the plugin names we should create loggers for  | 
    | registry | logging registry where the logging handlers should be created  | 
    | level | logging level for the newly create logging handlers | 
  
   
- Exceptions
 - 
  
  
 
 
 
◆ register_on_switch_to_configured_loggers_callback()
Registers the callback that the plugin will execute once it is finished with initialization and switches from the default to the configured logger sink(s). 
- Parameters
 - 
  
    | callback | callback to execute  | 
  
   
 
 
◆ harness_plugin_logger
  
  
      
        
          | mysql_harness::Plugin HARNESS_EXPORT harness_plugin_logger | 
         
       
   | 
  
extern   | 
  
 
 
◆ kLoggerPluginName
  
  
      
        
          | constexpr const char* kLoggerPluginName = "logger" | 
         
       
   | 
  
constexpr   |