1#include <xrpl/beast/utility/Journal.h> 
   72    : thresh_(thresh), m_console(console)
 
 
   81    return level >= thresh_;
 
 
  140    return m_ostream << manip;
 
 
std::ostream & operator<<(std::ostream &manip(std::ostream &)) const
 
std::ostringstream m_ostream
 
ScopedStream(ScopedStream const &other)
 
Abstraction for the underlying message destination.
 
virtual bool active(Severity level) const
Returns true if text at the passed severity produces output.
 
virtual Severity threshold() const
Returns the minimum severity level this sink will report.
 
virtual bool console() const
Returns true if a message is also written to the Output Window (MSVC).
 
virtual void write(Severity level, std::string const &text)=0
Write text to the sink at the specified severity.
 
Provide a light-weight way to check active() before string formatting.
 
ScopedStream operator<<(std::ostream &manip(std::ostream &)) const
Output stream support.
 
Sink & sink() const
Returns the Sink associated with this Journal.
 
Stream stream(Severity level) const
Returns a stream for this sink, with the specified severity level.
 
static Sink & getNullSink()
Returns a Sink which does nothing.
 
void writeAlways(severities::Severity, std::string const &) override
Bypass filter and write text to the sink at the specified severity.
 
bool console() const override
Returns true if a message is also written to the Output Window (MSVC).
 
void threshold(severities::Severity) override
Set the minimum severity this sink will report.
 
~NullJournalSink() override=default
 
void console(bool) override
Set whether messages are also written to the Output Window (MSVC).
 
bool active(severities::Severity) const override
Returns true if text at the passed severity produces output.
 
void write(severities::Severity, std::string const &) override
Write text to the sink at the specified severity.
 
severities::Severity threshold() const override
Returns the minimum severity level this sink will report.
 
Severity
Severity level / threshold of a Journal message.