LiteFX 0.3.1.2022
Computer Graphics Engine
|
#include <logging.hpp>
Inherits LiteFX::Logging::ISink.
Classes | |
class | ConsoleSinkImpl |
Public Member Functions | |
ConsoleSink (const LogLevel &level=LogLevel::Info, const String &pattern="%+") | |
ConsoleSink (const ConsoleSink &)=delete | |
ConsoleSink (ConsoleSink &&)=delete | |
virtual | ~ConsoleSink () noexcept |
virtual LogLevel | getLevel () const override |
Gets the minimum log level for messages to get written to the log. More... | |
virtual String | getName () const override |
Gets the name of the sink. More... | |
virtual String | getPattern () const override |
Gets the pattern used to format the messages for the sink. More... | |
virtual LogLevel | getLevel () const =0 |
Gets the minimum log level for messages to get written to the log. More... | |
virtual String | getName () const =0 |
Gets the name of the sink. More... | |
virtual String | getPattern () const =0 |
Gets the pattern used to format the messages for the sink. More... | |
Protected Member Functions | |
virtual spdlog::sink_ptr | get () const override |
virtual spdlog::sink_ptr | get () const =0 |
ConsoleSink::ConsoleSink | ( | const LogLevel & | level = LogLevel::Info , |
const String & | pattern = "%+" |
||
) |
|
delete |
|
delete |
|
virtualdefaultnoexcept |
|
overrideprotectedvirtual |
Implements LiteFX::Logging::ISink.
|
overridevirtual |
Gets the minimum log level for messages to get written to the log.
Implements LiteFX::Logging::ISink.
|
overridevirtual |
Gets the name of the sink.
Implements LiteFX::Logging::ISink.
|
overridevirtual |
Gets the pattern used to format the messages for the sink.
Implements LiteFX::Logging::ISink.