HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes
tt::detail::log_message< Level, SourceFile, SourceLine, Fmt, Values > Class Template Reference
Inheritance diagram for tt::detail::log_message< Level, SourceFile, SourceLine, Fmt, Values >:
tt::detail::log_message_base

Public Member Functions

 log_message (log_message const &) noexcept=default
 
log_messageoperator= (log_message const &) noexcept=default
 
template<typename... Args>
tt_force_inline log_message (Args &&...args) noexcept
 
std::string format () const noexcept override
 
std::unique_ptr< log_message_basemake_unique_copy () const noexcept override
 

Static Public Attributes

static constexpr char const * log_level_name
 
- Static Public Attributes inherited from tt::detail::log_message_base
static std::chrono::time_zone const * zone = nullptr
 

Member Function Documentation

◆ format()

template<global_state_type Level, basic_fixed_string SourceFile, int SourceLine, basic_fixed_string Fmt, typename... Values>
std::string tt::detail::log_message< Level, SourceFile, SourceLine, Fmt, Values >::format ( ) const
inlineoverridevirtualnoexcept

◆ make_unique_copy()

template<global_state_type Level, basic_fixed_string SourceFile, int SourceLine, basic_fixed_string Fmt, typename... Values>
std::unique_ptr< log_message_base > tt::detail::log_message< Level, SourceFile, SourceLine, Fmt, Values >::make_unique_copy ( ) const
inlineoverridevirtualnoexcept

Field Documentation

◆ log_level_name

template<global_state_type Level, basic_fixed_string SourceFile, int SourceLine, basic_fixed_string Fmt, typename... Values>
constexpr char const* tt::detail::log_message< Level, SourceFile, SourceLine, Fmt, Values >::log_level_name
staticconstexpr
Initial value:
=
Level == global_state_type::log_fatal ? "fatal" :
Level == global_state_type::log_error ? "error" :
Level == global_state_type::log_warning ? "warning" :
Level == global_state_type::log_info ? "info" :
Level == global_state_type::log_debug ? "debug" :
Level == global_state_type::log_trace ? "trace" :
Level == global_state_type::log_audit ? "audit" :
Level == global_state_type::log_statistics ? "stats" :
"<unknown log level>"

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