|
| | Logger (std::string_view base_name="section_logger") |
| |
| void | remove_all_sinks () |
| |
| void | add_sink (std::shared_ptr< spdlog::sinks::sink > sink) |
| |
| void | add_file_sink (const std::string &file_path, bool truncate=false) |
| |
| void | add_rotating_file_sink (const std::string &file_path, size_t max_size, size_t max_files) |
| |
| void | add_stdout_sink (bool color=true) |
| |
| void | configure (spdlog::level::level_enum lvl, std::string_view pattern) |
| |
| template<typename... Args> |
| void | log (spdlog::level::level_enum lvl, fmt::format_string< Args... > fmt_str, Args &&...args) |
| |
| void | log (spdlog::level::level_enum lvl, std::string_view msg) |
| |
| template<typename... Args> |
| void | trace (fmt::format_string< Args... > fmt_str, Args &&...args) |
| |
| void | trace (std::string_view msg) |
| |
| template<typename... Args> |
| void | debug (fmt::format_string< Args... > fmt_str, Args &&...args) |
| |
| void | debug (std::string_view msg) |
| |
| template<typename... Args> |
| void | info (fmt::format_string< Args... > fmt_str, Args &&...args) |
| |
| void | info (std::string_view msg) |
| |
| template<typename... Args> |
| void | warn (fmt::format_string< Args... > fmt_str, Args &&...args) |
| |
| void | warn (std::string_view msg) |
| |
| template<typename... Args> |
| void | error (fmt::format_string< Args... > fmt_str, Args &&...args) |
| |
| void | error (std::string_view msg) |
| |
| template<typename... Args> |
| void | critical (fmt::format_string< Args... > fmt_str, Args &&...args) |
| |
| void | critical (std::string_view msg) |
| |
| template<typename... Args> |
| void | start_section (fmt::format_string< Args... > fmt_str, Args &&...args) |
| |
| template<typename... Args> |
| void | start_section (spdlog::level::level_enum lvl, fmt::format_string< Args... > fmt_str, Args &&...args) |
| |
| template<typename... Args> |
| void | end_section (fmt::format_string< Args... > fmt_str, Args &&...args) |
| |
| template<typename... Args> |
| void | end_section (spdlog::level::level_enum lvl, fmt::format_string< Args... > fmt_str, Args &&...args) |
| |
| void | disable_all_levels () |
| |