Template Class Logger
Defined in File logger.h
Inheritance Relationships
Base Type
public CE::State::Singleton< Log< name > >(Template Class Singleton)
Class Documentation
-
template<const char *name>
class Logger : public CE::State::Singleton<Log<name>> Public Static Functions
-
static inline void set_pattern(const char *fmt)
-
static inline std::filesystem::path get_file_path()
Declaration:
[[nodiscard]]
Declaration:
[[nodiscard]]
-
static inline ::CE::Logging::BackendStats backend_stats()
Declaration:
[[nodiscard]]
-
static inline void report_diagnostics()
-
static inline void flush()
-
static inline void close(std::chrono::milliseconds timeout = std::chrono::milliseconds::zero())
-
static inline void reopen()
-
static inline void make_default()
-
template<::CE::Logging::Compile::LogLevel severity, typename Write>
static inline void write_lazy(Write &&write) noexcept Evaluate diagnostics only when compiled and admitted by a destination.
Initialization, argument preparation, and submission failures report through the emergency path instead of changing the engine operation. This is ordinary logging: call outside locks and native/noexcept paths.
-
template<typename ...Args>
static inline void trace(spdlog::format_string_t<Args...> fmt, Args&&... args)
-
template<typename ...Args>
static inline void debug(spdlog::format_string_t<Args...> fmt, Args&&... args)
-
template<typename ...Args>
static inline void info(spdlog::format_string_t<Args...> fmt, Args&&... args)
-
template<typename ...Args>
static inline void warn(spdlog::format_string_t<Args...> fmt, Args&&... args)
-
template<typename ...Args>
static inline void error(spdlog::format_string_t<Args...> fmt, Args&&... args)
-
template<typename ...Args>
static inline void critical(spdlog::format_string_t<Args...> fmt, Args&&... args)
-
static inline void strace(void *addr0 = nullptr)
-
static inline void set_pattern(const char *fmt)