#include <spdlog/sinks/basic_file_sink.h>
#include <spdlog/sinks/stdout_color_sinks.h>
#include <spdlog/spdlog.h>
#include <cstdio>
#include <memory>
#include <string>
#include <vector>
Go to the source code of this file.
|
| void | q3::log::apply_verbosity (const std::string &verbosity, const std::string &explicit_log_level) |
| |
| spdlog::level::level_enum & | q3::log::baseline_logger_level () |
| |
| std::shared_ptr< spdlog::sinks::stdout_color_sink_mt > & | q3::log::console_sink () |
| |
| template<typename... Args> |
| void | q3::log::debug (spdlog::format_string_t< Args... > fmt, Args &&... args) |
| |
| template<typename... Args> |
| void | q3::log::error (spdlog::format_string_t< Args... > fmt, Args &&... args) |
| |
| void | q3::log::fatal (const std::string &message) |
| |
| void | q3::log::flush () |
| |
| template<typename... Args> |
| void | q3::log::info (spdlog::format_string_t< Args... > fmt, Args &&... args) |
| |
| void | q3::log::init (const std::string &log_file="") |
| |
| void | q3::log::section (const std::string &title) |
| |
| void | q3::log::set_console_level_unless_silenced (spdlog::level::level_enum level) |
| |
| void | q3::log::set_level (const std::string &level) |
| | Set log level: "trace", "debug", "info", "warn", "error", "off".
|
| |
| void | q3::log::silence () |
| |
| template<typename... Args> |
| void | q3::log::trace (spdlog::format_string_t< Args... > fmt, Args &&... args) |
| |
| template<typename... Args> |
| void | q3::log::warn (spdlog::format_string_t< Args... > fmt, Args &&... args) |
| |