LiteFX 0.4.1.2025
Computer Graphics Engine
|
Interface for a class that receives log messages. More...
#include <logging.hpp>
Inherited by LiteFX::Logging::ConsoleSink, LiteFX::Logging::RollingFileSink, and LiteFX::Logging::TerminationSink.
Public Member Functions | |
virtual | ~ISink () noexcept=default |
virtual LogLevel | getLevel () const =0 |
Gets the minimum log level for messages to get written to the log. | |
virtual String | getName () const =0 |
Gets the name of the sink. | |
virtual String | getPattern () const =0 |
Gets the pattern used to format the messages for the sink. | |
Protected Member Functions | |
ISink () noexcept=default | |
ISink (const ISink &)=default | |
ISink (ISink &&) noexcept=default | |
ISink & | operator= (const ISink &)=default |
ISink & | operator= (ISink &&) noexcept=default |
virtual spdlog::sink_ptr | get () const =0 |
Friends | |
class | Logger |
Interface for a class that receives log messages.
|
protecteddefaultnoexcept |
|
protecteddefault |
|
protecteddefaultnoexcept |
|
virtualdefaultnoexcept |
|
protectedpure virtual |
Implemented in LiteFX::Logging::ConsoleSink, LiteFX::Logging::RollingFileSink, and LiteFX::Logging::TerminationSink.
|
pure virtual |
Gets the minimum log level for messages to get written to the log.
Implemented in LiteFX::Logging::ConsoleSink, LiteFX::Logging::RollingFileSink, and LiteFX::Logging::TerminationSink.
|
pure virtual |
Gets the name of the sink.
Implemented in LiteFX::Logging::ConsoleSink, LiteFX::Logging::RollingFileSink, and LiteFX::Logging::TerminationSink.
|
pure virtual |
Gets the pattern used to format the messages for the sink.
Implemented in LiteFX::Logging::ConsoleSink, LiteFX::Logging::RollingFileSink, and LiteFX::Logging::TerminationSink.
|
friend |