3#include <xrpl/basics/Log.h>
27 if (text.contains(
owner_.msg_))
Abstraction for the underlying message destination.
virtual Severity threshold() const
Returns the minimum severity level this sink will report.
Sink(Sink const &sink)=default
beast::Severity threshold() const
Logs(beast::Severity level)
void writeAlways(beast::Severity level, std::string const &text) override
Bypass filter and write text to the sink at the specified severity.
CheckMessageLogs & owner_
CheckMessageSink(beast::Severity threshold, CheckMessageLogs &owner)
void write(beast::Severity level, std::string const &text) override
Write text to the sink at the specified severity.
std::unique_ptr< beast::Journal::Sink > makeSink(std::string const &partition, beast::Severity threshold) override
CheckMessageLogs(std::string msg, bool *pFound)
Constructor.
Severity
Severity level / threshold of a Journal message.