MCPcopy Create free account
hub / github.com/MariaDB/server / error_header

Function error_header

plugin/server_audit/server_audit.cc:619–630  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

617
618
619static void error_header()
620{
621 struct tm tm_time;
622 time_t curtime;
623
624 (void) time(&curtime);
625 (void) localtime_r(&curtime, &tm_time);
626
627 (void) fprintf(stderr,"%02d%02d%02d %2d:%02d:%02d server_audit: ",
628 tm_time.tm_year % 100, tm_time.tm_mon + 1,
629 tm_time.tm_mday, tm_time.tm_hour, tm_time.tm_min, tm_time.tm_sec);
630}
631
632
633static LOGGER_HANDLE *logfile;

Callers 15

start_loggingFunction · 0.85
stop_loggingFunction · 0.85
server_audit_initFunction · 0.85
update_file_pathFunction · 0.85
check_timestamp_formatFunction · 0.85
update_file_rotationsFunction · 0.85
update_file_rotate_sizeFunction · 0.85
update_file_buffer_sizeFunction · 0.85
check_usersFunction · 0.85
update_incl_usersFunction · 0.85
update_excl_usersFunction · 0.85
update_output_typeFunction · 0.85

Calls 1

localtime_rFunction · 0.50

Tested by

no test coverage detected