LeviLamina
Loading...
Searching...
No Matches
ll::io::Logger Class Reference
+ Inheritance diagram for ll::io::Logger:

Public Member Functions

template<typename... Args>
void log (LogLevel level, fmt::format_string< Args... > fmt, Args &&... args) const
 
void log (LogLevel level, std::string &&msg) const
 
template<ll::concepts::IsString S>
void log (LogLevel level, S const &msg) const
 
template<typename... Args>
void fatal (fmt::format_string< Args... > fmt, Args &&... args) const
 
void fatal (std::string &&msg) const
 
template<ll::concepts::IsString S>
void fatal (S const &msg) const
 
template<typename... Args>
void error (fmt::format_string< Args... > fmt, Args &&... args) const
 
void error (std::string &&msg) const
 
template<ll::concepts::IsString S>
void error (S const &msg) const
 
template<typename... Args>
void warn (fmt::format_string< Args... > fmt, Args &&... args) const
 
void warn (std::string &&msg) const
 
template<ll::concepts::IsString S>
void warn (S const &msg) const
 
template<typename... Args>
void info (fmt::format_string< Args... > fmt, Args &&... args) const
 
void info (std::string &&msg) const
 
template<ll::concepts::IsString S>
void info (S const &msg) const
 
template<typename... Args>
void debug (fmt::format_string< Args... > fmt, Args &&... args) const
 
void debug (std::string &&msg) const
 
template<ll::concepts::IsString S>
void debug (S const &msg) const
 
template<typename... Args>
void trace (fmt::format_string< Args... > fmt, Args &&... args) const
 
void trace (std::string &&msg) const
 
template<ll::concepts::IsString S>
void trace (S const &msg) const
 
 Logger (PrivateTag, std::string_view)
 
LLNDAPI std::string const & getTitle () const noexcept
 
LLNDAPI LogLevel getLevel () const noexcept
 
LLNDAPI bool shouldLog (LogLevel level) const noexcept
 
LLAPI void setLevel (LogLevel level)
 
LLAPI void setFlushLevel (LogLevel level)
 
LLAPI void setFormatter (Polymorphic< Formatter > formatter)
 
LLAPI void flush () const
 
LLAPI void clearSink () const
 
LLAPI size_t addSink (std::shared_ptr< SinkBase > sink) const
 
LLAPI std::shared_ptr< SinkBasegetSink (size_t index) const
 
LLNDAPI coro::Generator< SinkBase & > sinks () const
 

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