rippled
|
Public Member Functions | |
SuiteJournalSink (std::string const &partition, beast::severities::Severity threshold, beast::unit_test::suite &suite) | |
bool | active (beast::severities::Severity level) const override |
Returns true if text at the passed severity produces output. More... | |
void | write (beast::severities::Severity level, std::string const &text) override |
Write text to the sink at the specified severity. More... | |
virtual bool | console () const |
Returns true if a message is also written to the Output Window (MSVC). More... | |
virtual void | console (bool output) |
Set whether messages are also written to the Output Window (MSVC). More... | |
virtual Severity | threshold () const |
Returns the minimum severity level this sink will report. More... | |
virtual void | threshold (Severity thresh) |
Set the minimum severity this sink will report. More... | |
Private Attributes | |
std::string | partition_ |
beast::unit_test::suite & | suite_ |
Severity | thresh_ |
bool | m_console |
Definition at line 30 of file SuiteJournal.h.
ripple::test::SuiteJournalSink::SuiteJournalSink | ( | std::string const & | partition, |
beast::severities::Severity | threshold, | ||
beast::unit_test::suite & | suite | ||
) |
Definition at line 36 of file SuiteJournal.h.
|
overridevirtual |
Returns true
if text at the passed severity produces output.
Reimplemented from beast::Journal::Sink.
Definition at line 46 of file SuiteJournal.h.
|
overridevirtual |
Write text to the sink at the specified severity.
A conforming implementation will not write the text if the passed level is below the current threshold().
Implements beast::Journal::Sink.
Definition at line 56 of file SuiteJournal.h.
|
virtualinherited |
Returns true
if a message is also written to the Output Window (MSVC).
Reimplemented in beast::WrappedSink, and beast::NullJournalSink.
Definition at line 94 of file beast_Journal.cpp.
|
virtualinherited |
Set whether messages are also written to the Output Window (MSVC).
Reimplemented in beast::NullJournalSink, and beast::WrappedSink.
Definition at line 100 of file beast_Journal.cpp.
|
virtualinherited |
Returns the minimum severity level this sink will report.
Reimplemented in beast::WrappedSink, and beast::NullJournalSink.
Definition at line 106 of file beast_Journal.cpp.
|
virtualinherited |
Set the minimum severity this sink will report.
Reimplemented in beast::NullJournalSink, and beast::WrappedSink.
Definition at line 112 of file beast_Journal.cpp.
|
private |
Definition at line 32 of file SuiteJournal.h.
|
private |
Definition at line 33 of file SuiteJournal.h.