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

Public Member Functions

 log_message (log_message const &) noexcept=default
 
log_messageoperator= (log_message const &) noexcept=default
 
template<typename... Args>
hi_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
 

Member Function Documentation

◆ format()

template<global_state_type Level, fixed_string SourcePath, int SourceLine, fixed_string Fmt, typename... Values>
std::string hi::v1::detail::log_message< Level, SourcePath, SourceLine, Fmt, Values >::format ( ) const
inlineoverridevirtualnoexcept

◆ make_unique_copy()

template<global_state_type Level, fixed_string SourcePath, int SourceLine, fixed_string Fmt, typename... Values>
std::unique_ptr< log_message_base > hi::v1::detail::log_message< Level, SourcePath, SourceLine, Fmt, Values >::make_unique_copy ( ) const
inlineoverridevirtualnoexcept

Field Documentation

◆ log_level_name

template<global_state_type Level, fixed_string SourcePath, int SourceLine, fixed_string Fmt, typename... Values>
constexpr char const* hi::v1::detail::log_message< Level, SourcePath, 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: