78template <
typename...
Args>
79void Info(std::format_string<Args...> fmt,
Args&&... args)
87template <
typename...
Args>
88void Warn(std::format_string<Args...> fmt,
Args&&... args)
96template <
typename...
Args>
97void Error(std::format_string<Args...> fmt,
Args&&... args)
The argument types a command handler's parameter list is written in.
void Error(std::format_string< Args... > fmt, Args &&... args)
bool Wanted(LogLevel level)
void Emit(LogLevel level, std::string message)
void Info(std::format_string< Args... > fmt, Args &&... args)
void Warn(std::format_string< Args... > fmt, Args &&... args)
void SetHandler(Handler handler)
std::function< void(LogLevel level, std::string_view message)> Handler
Where log lines end up.
void SetMinimumLevel(LogLevel level)
One failure: a code to branch on, text for the log, and an optional translation key.