30#ifndef MYSQL_SERVICE_MY_PLUGIN_LOG_INCLUDED
31#define MYSQL_SERVICE_MY_PLUGIN_LOG_INCLUDED
33#ifndef MYSQL_ABI_CHECK
55 MY_ATTRIBUTE((format(printf, 3, 4)));
58#ifdef MYSQL_DYNAMIC_PLUGIN
60#define my_plugin_log_message my_plugin_log_service->my_plugin_log_message
65 const char *format, ...)
66 MY_ATTRIBUTE((format(printf, 3, 4)));
struct my_plugin_log_service * my_plugin_log_service
void * MYSQL_PLUGIN
Definition: plugin.h:82
plugin_log_level
Definition: service_my_plugin_log.h:40
@ MY_ERROR_LEVEL
Definition: service_my_plugin_log.h:41
@ MY_WARNING_LEVEL
Definition: service_my_plugin_log.h:42
@ MY_INFORMATION_LEVEL
Definition: service_my_plugin_log.h:43
int my_plugin_log_message(MYSQL_PLUGIN *plugin, enum plugin_log_level level, const char *format,...)
Definition: log.cc:2339
Enables plugins to log messages into the server's error log.
Definition: service_my_plugin_log.h:51
int(* my_plugin_log_message)(MYSQL_PLUGIN *, enum plugin_log_level, const char *,...)
Write a message to the log.
Definition: service_my_plugin_log.h:53