API Reference
On this page
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 std::shared_ptr< SinkBase > | setSink (std::string_view name, std::shared_ptr< SinkBase > sink) const |
| LLAPI std::shared_ptr< SinkBase > | removeSink (std::string_view name) const |
| LLNDAPI std::shared_ptr< SinkBase > | getSink (std::string_view name) const |
| LLAPI void | clearSinks () const |
| LLNDAPI coro::Generator< std::pair< std::string_view, SinkBase & > > | sinks () const |