1#include <xrpl/beast/utility/Journal.h>
std::ostream & operator<<(std::ostream &manip(std::ostream &)) const
std::ostringstream ostream_
ScopedStream(ScopedStream const &other)
Abstraction for the underlying message destination.
virtual Severity threshold() const
Returns the minimum severity level this sink will report.
Sink(Sink const &sink)=default
virtual bool active(Severity level) const
Returns true if text at the passed severity produces output.
virtual bool console() const
Returns true if a message is also written to the Output Window (MSVC).
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.
Severity threshold() const override
Returns the minimum severity level this sink will report.
bool console() const override
Returns true if a message is also written to the Output Window (MSVC).
bool active(Severity) const override
Returns true if text at the passed severity produces output.
void threshold(Severity) override
Set the minimum severity this sink will report.
void writeAlways(Severity, std::string const &) override
Bypass filter and write text to the sink at the specified severity.
~NullJournalSink() override=default
void console(bool) override
Set whether messages are also written to the Output Window (MSVC).
void write(Severity, std::string const &) override
Write text to the sink at the specified severity.
Severity
Severity level / threshold of a Journal message.