Class Log¶
Defined in File log.h
Nested Relationships¶
Nested Types¶
Class Documentation¶
-
class Log¶
Public Types
Public Static Functions
-
static void init()¶
-
static void init(const LoggerSettings &settings)¶
-
static void shutdown()¶
-
static std::shared_ptr<spdlog::logger> get_logger(const std::string &tag_name)¶
-
static bool has_tag(const std::string &tag_name)¶
-
static void enable_tag(const std::string &tag_name, bool enable = true)¶
-
template<typename ...Args>
static inline ScopedLogContext with_context(Args&&... args)¶
-
template<typename ...Args>
static void print_message_tag(spdlog::source_loc loc, LogLevel level, std::string_view tag, spdlog::format_string_t<Args...> format, Args&&... args)¶
-
static void print_message_tag(const spdlog::source_loc &loc, LogLevel level, std::string_view tag, std::string_view message)¶
-
template<typename ...Args>
static bool print_assert_message(std::string_view file, int line, std::string_view function, std::string_view format, Args&&... args)¶
-
static bool print_assert_message(std::string_view file, int line, std::string_view function, std::string_view message)¶
-
struct LoggerSettings¶
-
static void init()¶