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