MySQL 8.0.40
Source Code Documentation
|
Class responsible for file based logging. More...
Public Member Functions | |
bool | log_slow (THD *thd, ulonglong current_utime, ulonglong query_start_arg, const char *user_host, size_t user_host_len, ulonglong query_utime, ulonglong lock_utime, bool is_command, const char *sql_text, size_t sql_text_len) override |
Wrapper around File_query_log::write_slow() for slow log. More... | |
bool | log_general (THD *thd, ulonglong event_utime, const char *user_host, size_t user_host_len, my_thread_id thread_id, const char *command_type, size_t command_type_len, const char *sql_text, size_t sql_text_len, const CHARSET_INFO *client_cs) override |
Wrapper around File_query_log::write_general() for general log. More... | |
Public Member Functions inherited from Log_event_handler | |
Log_event_handler ()=default | |
virtual | ~Log_event_handler ()=default |
Private Member Functions | |
Log_to_file_event_handler () | |
void | cleanup () |
Close slow and general log files. More... | |
File_query_log * | get_query_log (enum_log_table_type log_type) |
Private Attributes | |
File_query_log | mysql_general_log |
File_query_log | mysql_slow_log |
Friends | |
class | Query_logger |
Class responsible for file based logging.
Basically a wrapper around File_query_log.
|
inlineprivate |
|
inlineprivate |
Close slow and general log files.
|
inlineprivate |
|
overridevirtual |
Wrapper around File_query_log::write_general() for general log.
Implements Log_event_handler.
|
overridevirtual |
Wrapper around File_query_log::write_slow() for slow log.
Implements Log_event_handler.
|
friend |
|
private |
|
private |