236 (const
char *line_start,
size_t line_length));
264 (
void *instance,
char *
buf,
size_t bufsize));
Specifies macros to define Components.
static void run(mysql_harness::PluginFuncEnv *)
Definition: io_plugin.cc:199
enum enum_log_service_error log_service_error
Error codes.
enum enum_log_service_chistics log_service_chistics
This defines the API used to call functions in logging components.
enum_log_service_chistics
This defines the API used to call functions in logging components.
Definition: log_service.h:44
@ LOG_SERVICE_SINK
Service is a sink (usually a log-writer).
Definition: log_service.h:72
@ LOG_SERVICE_LOG_PARSER
Service can parse lines in the format it outputs.
Definition: log_service.h:85
@ LOG_SERVICE_UNSPECIFIED
We do not have information about this service yet.
Definition: log_service.h:46
@ LOG_SERVICE_READ_ONLY
Service is read-only – it guarantees it will not modify the log-event.
Definition: log_service.h:50
@ LOG_SERVICE_SOURCE
Service is a source.
Definition: log_service.h:64
@ LOG_SERVICE_SINGLETON
Service is a singleton – it may occur in the log service pipeline only once.
Definition: log_service.h:54
@ LOG_SERVICE_BUILTIN
Service is built-in (and can not be INSTALLed/UNINSTALLed.
Definition: log_service.h:57
@ LOG_SERVICE_PFS_SUPPORT
Service supports the performance_schema.error_log table.
Definition: log_service.h:81
@ LOG_SERVICE_FILTER
Service is a filter.
Definition: log_service.h:68
enum_log_service_error
Error codes.
Definition: log_service.h:94
@ LOG_SERVICE_BUFFER_SIZE_INSUFFICIENT
arguments are valid, we just don't have the space (either pre-allocated in this function,...
Definition: log_service.h:108
@ LOG_SERVICE_LOCK_ERROR
lock error (could not init, or is not inited, etc.)
Definition: log_service.h:141
@ LOG_SERVICE_OPEN_FAILED
Definition: log_service.h:146
@ LOG_SERVICE_UNSUPPORTED_MODE
for a method with modes, a mode unsupported by this service was requested
Definition: log_service.h:117
@ LOG_SERVICE_UNABLE_TO_READ
Definition: log_service.h:145
@ LOG_SERVICE_PARSE_ERROR
invalid data, but not arguments to a C++ function (bad log-file to parse, filter language statement,...
Definition: log_service.h:135
@ LOG_SERVICE_TOO_MANY_INSTANCES
no more instances of this service are possible.
Definition: log_service.h:151
@ LOG_SERVICE_SEEK_FAILED
Definition: log_service.h:148
@ LOG_SERVICE_ARGUMENT_TOO_LONG
argument too long (a special case of malformed).
Definition: log_service.h:129
@ LOG_SERVICE_CLOSE_FAILED
Definition: log_service.h:147
@ LOG_SERVICE_NOT_AVAILABLE
service uninavailable (bad internal state/underlying service unavailable)
Definition: log_service.h:114
@ LOG_SERVICE_MISC_ERROR
error not otherwise specified
Definition: log_service.h:99
@ LOG_SERVICE_COULD_NOT_MAKE_LOG_NAME
could not make log name
Definition: log_service.h:138
@ LOG_SERVICE_OUT_OF_MEMORY
we cannot allocate a (temporary or return) buffer of the required size
Definition: log_service.h:111
@ LOG_SERVICE_INVALID_ARGUMENT
argument was invalid (out of range, malformed, etc.)
Definition: log_service.h:120
@ LOG_SERVICE_SUCCESS
no error
Definition: log_service.h:96
@ LOG_SERVICE_NOTHING_DONE
no error, but no effect either
Definition: log_service.h:102
@ LOG_SERVICE_UNABLE_TO_WRITE
can not write
Definition: log_service.h:144
Definition: buf0block_hint.cc:30
stdx::expected< void, std::error_code > close(file_handle_type native_handle)
close file handle.
Definition: file.h:239
static mysql_service_status_t flush(reference_caching_cache cache) noexcept
Definition: component.cc:114
stdx::expected< int, std::error_code > open(const char *fname, int flags, mode_t mode) noexcept
Definition: file_handle.cc:79
#define DECLARE_METHOD(retval, name, args)
Declares a method as a part of the Service definition.
Definition: service.h:103
#define END_SERVICE_DEFINITION(name)
A macro to end the last Service definition started with the BEGIN_SERVICE_DEFINITION macro.
Definition: service.h:91
#define BEGIN_SERVICE_DEFINITION(name)
Declares a new Service.
Definition: service.h:86
Specifies macros to define Service Implementations.
log_line ("log event")
Definition: keyring_log_builtins_definition.cc:72