|
HARNESS_EXPORT LogLevel | mysql_harness::logging::log_level_from_string (std::string name) |
| Converts string with log level description to LogLevel type. More...
|
|
HARNESS_EXPORT std::string | mysql_harness::logging::log_level_to_string (LogLevel log_level) |
| Converts LogLevel type to its string name. More...
|
|
HARNESS_EXPORT LogLevel | mysql_harness::logging::get_default_log_level (const Config &config, bool raw_mode=false) |
| Get default log level. More...
|
|
HARNESS_EXPORT std::string | mysql_harness::logging::get_default_log_filename (const Config &config) |
| Get default log filename. More...
|
|
HARNESS_EXPORT void | mysql_harness::logging::attach_handler_to_all_loggers (Registry ®istry, std::string name) |
| Attach handler to all loggers. More...
|
|
HARNESS_EXPORT void | mysql_harness::logging::set_log_level_for_all_loggers (Registry ®istry, LogLevel level) |
| Set log levels for all the loggers to specified value. More...
|
|
HARNESS_EXPORT void | mysql_harness::logging::set_log_level_for_all_handlers (const Registry ®istry, LogLevel level) |
| Set log levels for all handlers to specified value. More...
|
|
HARNESS_EXPORT LogTimestampPrecision | mysql_harness::logging::log_timestamp_precision_from_string (std::string name) |
| Converts string with log timestamp precision description to LogTimestampPrecision type. More...
|
|
HARNESS_EXPORT std::string | mysql_harness::logging::log_timestamp_precision_to_string (LogTimestampPrecision tsp) |
|
HARNESS_EXPORT LogTimestampPrecision | mysql_harness::logging::get_default_timestamp_precision (const Config &config) |
| Get default timestamp precision. More...
|
|
HARNESS_EXPORT void | mysql_harness::logging::set_timestamp_precision_for_all_loggers (Registry ®istry, LogTimestampPrecision precision) |
| Set timestamp precision for all the loggers. More...
|
|
HARNESS_EXPORT void | mysql_harness::logging::clear_registry (Registry ®istry) |
| Clear registry. More...
|
|
HARNESS_EXPORT void | mysql_harness::logging::create_module_loggers (Registry ®istry, const LogLevel level, const std::list< std::string > &modules, const std::string &main_app_log_domain) |
| Initialize logging facility. More...
|
|
HARNESS_EXPORT void | mysql_harness::logging::create_logger (Registry ®istry, const LogLevel level, const std::string &logger_name) |
|
HARNESS_EXPORT void | mysql_harness::logging::create_main_log_handler (Registry ®istry, const std::string &program, const std::string &logging_folder, bool format_messages, bool use_os_log=false) |
| Initialize logfile handler. More...
|
|
HARNESS_EXPORT void | mysql_harness::logging::set_log_level_for_all_loggers (LogLevel level) |
| Set log level for all registered loggers. More...
|
|
HARNESS_EXPORT void | mysql_harness::logging::set_log_level_for_all_handlers (LogLevel level) |
| Set log level for all registered handlers. More...
|
|
HARNESS_EXPORT void | mysql_harness::logging::set_timestamp_precison_for_all_loggers (LogTimestampPrecision precision) |
| Set timestamp precision for all registered loggers. More...
|
|
HARNESS_EXPORT void | mysql_harness::logging::register_handler (std::string name, std::shared_ptr< Handler > handler) |
| Register handler for all plugins. More...
|
|
HARNESS_EXPORT void | mysql_harness::logging::unregister_handler (std::string name) |
| Unregister a handler. More...
|
|
HARNESS_EXPORT std::ostream * | mysql_harness::logging::get_default_logger_stream () |
| Returns pointer to the default logger sink stream. More...
|
|