rippled
|
Public Member Functions | |
NullJournalSink () | |
~NullJournalSink () override=default | |
bool | active (severities::Severity) const override |
Returns true if text at the passed severity produces output. More... | |
bool | console () const override |
Returns true if a message is also written to the Output Window (MSVC). More... | |
void | console (bool) override |
Set whether messages are also written to the Output Window (MSVC). More... | |
severities::Severity | threshold () const override |
Returns the minimum severity level this sink will report. More... | |
void | threshold (severities::Severity) override |
Set the minimum severity this sink will report. More... | |
void | write (severities::Severity, std::string const &) override |
Write text to the sink at the specified severity. More... | |
Private Attributes | |
Severity | thresh_ |
bool | m_console |
Definition at line 28 of file beast_Journal.cpp.
beast::NullJournalSink::NullJournalSink | ( | ) |
Definition at line 31 of file beast_Journal.cpp.
|
overridedefault |
|
overridevirtual |
Returns true
if text at the passed severity produces output.
Reimplemented from beast::Journal::Sink.
Definition at line 37 of file beast_Journal.cpp.
|
overridevirtual |
Returns true
if a message is also written to the Output Window (MSVC).
Reimplemented from beast::Journal::Sink.
Definition at line 43 of file beast_Journal.cpp.
|
overridevirtual |
Set whether messages are also written to the Output Window (MSVC).
Reimplemented from beast::Journal::Sink.
Definition at line 49 of file beast_Journal.cpp.
|
overridevirtual |
Returns the minimum severity level this sink will report.
Reimplemented from beast::Journal::Sink.
Definition at line 54 of file beast_Journal.cpp.
|
overridevirtual |
Set the minimum severity this sink will report.
Reimplemented from beast::Journal::Sink.
Definition at line 59 of file beast_Journal.cpp.
|
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 64 of file beast_Journal.cpp.