20 #include <ripple/basics/Log.h>
Abstraction for the underlying message destination.
Manages partitions for logging.
void write(beast::severities::Severity level, std::string const &text) override
Write text to the sink at the specified severity.
CaptureLogs(std::string *pResult)
std::stringstream & strm_
std::unique_ptr< beast::Journal::Sink > makeSink(std::string const &partition, beast::severities::Severity threshold) override
sink for writing all log messages to a stringstream
Log manager for CaptureSinks.
beast::severities::Severity threshold() const
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
virtual Severity threshold() const
Returns the minimum severity level this sink will report.
Severity
Severity level / threshold of a Journal message.
CaptureSink(beast::severities::Severity threshold, std::mutex &mutex, std::stringstream &strm)