20 #include <ripple/basics/Log.h>
70 return std::make_unique<CheckMessageSink>(
threshold, *
this);
Abstraction for the underlying message destination.
Manages partitions for logging.
CheckMessageLogs & owner_
CheckMessageSink(beast::severities::Severity threshold, CheckMessageLogs &owner)
Log manager that searches for a specific message substring.
beast::severities::Severity threshold() const
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
std::unique_ptr< beast::Journal::Sink > makeSink(std::string const &partition, beast::severities::Severity threshold) override
virtual Severity threshold() const
Returns the minimum severity level this sink will report.
Severity
Severity level / threshold of a Journal message.
void write(beast::severities::Severity level, std::string const &text) override
Write text to the sink at the specified severity.
CheckMessageLogs(std::string msg, bool *pFound)
Constructor.