MySQL 8.0.30
Source Code Documentation
log_builtins_imp.h File Reference

Go to the source code of this file.

Classes

class  log_builtins_imp
 Primitives for services to interact with the structured logger: functions pertaining to log_line and log_item data. More...
 
class  log_builtins_string_imp
 String primitives for logging services. More...
 
class  log_builtins_tmp_imp
 Temporary primitives for logging services. More...
 
class  log_builtins_syseventlog_imp
 Syslog/Eventlog functions for logging services. More...
 

Macros

#define LOG_BUILTINS_FILTER   "log_filter_internal"
 This defines built-in functions for use by logging services. More...
 
#define LOG_BUILTINS_SINK   "log_sink_internal"
 Name of internal log writer (so we may recognize it when the user refers to it by name in log_error_services). More...
 
#define LOG_ERROR_SERVICES_DEFAULT   LOG_BUILTINS_FILTER "; " LOG_BUILTINS_SINK
 Default services pipeline for log_builtins_error_stack(). More...
 

Macro Definition Documentation

◆ LOG_BUILTINS_FILTER

#define LOG_BUILTINS_FILTER   "log_filter_internal"

This defines built-in functions for use by logging services.

These helpers are organized into a number of APIs grouping related functionality.

This file defines internals; to use the logger from a service, include log_builtins.h instead.

For documentation of the individual functions, see log_builtins.cc Name of internal filtering engine (so we may recognize it when the user refers to it by name in log_error_services).

◆ LOG_BUILTINS_SINK

#define LOG_BUILTINS_SINK   "log_sink_internal"

Name of internal log writer (so we may recognize it when the user refers to it by name in log_error_services).

◆ LOG_ERROR_SERVICES_DEFAULT

#define LOG_ERROR_SERVICES_DEFAULT   LOG_BUILTINS_FILTER "; " LOG_BUILTINS_SINK

Default services pipeline for log_builtins_error_stack().