30#ifndef MYSQL_SERVICE_MY_PLUGIN_LOG_INCLUDED
31#define MYSQL_SERVICE_MY_PLUGIN_LOG_INCLUDED
33#ifndef MYSQL_ABI_CHECK
53 MY_ATTRIBUTE((format(printf, 3, 4)));
56#ifdef MYSQL_DYNAMIC_PLUGIN
58#define my_plugin_log_message my_plugin_log_service->my_plugin_log_message
63 const char *format, ...)
64 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:38
@ MY_ERROR_LEVEL
Definition: service_my_plugin_log.h:39
@ MY_WARNING_LEVEL
Definition: service_my_plugin_log.h:40
@ MY_INFORMATION_LEVEL
Definition: service_my_plugin_log.h:41
int my_plugin_log_message(MYSQL_PLUGIN *plugin, enum plugin_log_level level, const char *format,...)
Definition: log.cc:2328
Enables plugins to log messages into the server's error log.
Definition: service_my_plugin_log.h:49
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:51