MySQL 9.1.0
Source Code Documentation
|
#include <mysql/components/component_implementation.h>
#include <mysql/components/my_service.h>
#include <mysql/components/service_implementation.h>
#include <mysql/components/services/log_shared.h>
Go to the source code of this file.
Classes | |
struct | s_mysql_log_service |
Typedefs | |
typedef enum enum_log_service_chistics | log_service_chistics |
This defines the API used to call functions in logging components. More... | |
typedef enum enum_log_service_error | log_service_error |
Error codes. More... | |
typedef struct s_mysql_log_service | mysql_service_log_service_t |
typedef enum enum_log_service_chistics log_service_chistics |
This defines the API used to call functions in logging components.
When implementing such a service, refer to log_service_imp.h instead!
A log service may take the shape of a writer for a specific log format (JSON, XML, traditional MySQL, etc.), it may implement a filter that removes or modifies log_items, etc.
typedef enum enum_log_service_error log_service_error |
Error codes.
These are grouped (general issues, invalid data, file ops, etc.). Each group has a sparsely populated range so we may add entries as needed without introducing incompatibility by renumbering the existing ones.
typedef struct s_mysql_log_service mysql_service_log_service_t |
This defines the API used to call functions in logging components.
When implementing such a service, refer to log_service_imp.h instead!
A log service may take the shape of a writer for a specific log format (JSON, XML, traditional MySQL, etc.), it may implement a filter that removes or modifies log_items, etc.
Error codes.
These are grouped (general issues, invalid data, file ops, etc.). Each group has a sparsely populated range so we may add entries as needed without introducing incompatibility by renumbering the existing ones.