MySQL 8.0.39
Source Code Documentation
service_my_plugin_log.h File Reference

This service provides functions to report error conditions and log to mysql error log. More...

#include <stdarg.h>

Go to the source code of this file.

Classes

struct  my_plugin_log_service
 Enables plugins to log messages into the server's error log. More...
 

Enumerations

enum  plugin_log_level { MY_ERROR_LEVEL , MY_WARNING_LEVEL , MY_INFORMATION_LEVEL }
 

Functions

int my_plugin_log_message (MYSQL_PLUGIN *plugin, enum plugin_log_level level, const char *format,...)
 

Variables

struct my_plugin_log_servicemy_plugin_log_service
 

Detailed Description

This service provides functions to report error conditions and log to mysql error log.

Enumeration Type Documentation

◆ plugin_log_level

Enumerator
MY_ERROR_LEVEL 
MY_WARNING_LEVEL 
MY_INFORMATION_LEVEL 

Function Documentation

◆ my_plugin_log_message()

int my_plugin_log_message ( MYSQL_PLUGIN plugin,
enum plugin_log_level  level,
const char *  format,
  ... 
)