Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::utils::detail::SpdlogApi Struct Reference

Public Member Functions

template<typename... FmtArgs>
void log (std::source_location loc, LogLevel level, fmt::format_string< FmtArgs... > fmt, FmtArgs &&... args) const
void init (LoggerType type)

Data Fields

std::atomic< Logger * > logger_ { nullptr }
std::once_flag init_flag_

Detailed Description

Definition at line 64 of file logger.h.

Member Function Documentation

◆ log()

template<typename... FmtArgs>
void zrythm::utils::detail::SpdlogApi::log ( std::source_location loc,
LogLevel level,
fmt::format_string< FmtArgs... > fmt,
FmtArgs &&... args ) const
inline

Definition at line 69 of file logger.h.

Field Documentation

◆ init_flag_

std::once_flag zrythm::utils::detail::SpdlogApi::init_flag_

Definition at line 90 of file logger.h.

◆ logger_

std::atomic<Logger *> zrythm::utils::detail::SpdlogApi::logger_ { nullptr }

Definition at line 89 of file logger.h.


The documentation for this struct was generated from the following file: