Interface of the log destinations; derive from ASink to write a new sink.
More...
#include <RST/log/Sinks/ISink.hpp>
Interface of the log destinations; derive from ASink to write a new sink.
◆ ~ISink()
| virtual RST::Log::ISink::~ISink |
( |
| ) |
|
|
virtualdefault |
◆ write()
| virtual void RST::Log::ISink::write |
( |
const LogMessage & |
message | ) |
|
|
pure virtual |
◆ flush()
| virtual void RST::Log::ISink::flush |
( |
| ) |
|
|
pure virtual |
◆ setLevel()
| virtual void RST::Log::ISink::setLevel |
( |
LogLevel |
level | ) |
|
|
pure virtualnoexcept |
◆ getLevel()
| virtual LogLevel RST::Log::ISink::getLevel |
( |
| ) |
const |
|
pure virtualnoexcept |
◆ shouldLog()
| virtual bool RST::Log::ISink::shouldLog |
( |
LogLevel |
level | ) |
const |
|
pure virtualnoexcept |
◆ setFormatter()
| virtual void RST::Log::ISink::setFormatter |
( |
std::shared_ptr< Formatter > |
formatter | ) |
|
|
pure virtual |
◆ setPattern()
| virtual void RST::Log::ISink::setPattern |
( |
std::string_view |
pattern | ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: