|
rippled
|


Public Member Functions | |
| NullJournalSink () | |
| ~NullJournalSink () override=default | |
| bool | active (severities::Severity) const override |
Returns true if text at the passed severity produces output. | |
| bool | console () const override |
Returns true if a message is also written to the Output Window (MSVC). | |
| void | console (bool) override |
| Set whether messages are also written to the Output Window (MSVC). | |
| severities::Severity | threshold () const override |
| Returns the minimum severity level this sink will report. | |
| void | threshold (severities::Severity) override |
| Set the minimum severity this sink will report. | |
| void | write (severities::Severity, std::string const &) override |
| Write text to the sink at the specified severity. | |
| void | writeAlways (severities::Severity, std::string const &) override |
| Bypass filter and write text to the sink at the specified severity. | |
Private Attributes | |
| Severity | thresh_ |
| bool | m_console |
Definition at line 12 of file beast_Journal.cpp.
| beast::NullJournalSink::NullJournalSink | ( | ) |
Definition at line 15 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 22 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 28 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 34 of file beast_Journal.cpp.
|
overridevirtual |
Returns the minimum severity level this sink will report.
Reimplemented from beast::Journal::Sink.
Definition at line 39 of file beast_Journal.cpp.
|
overridevirtual |
Set the minimum severity this sink will report.
Reimplemented from beast::Journal::Sink.
Definition at line 45 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 50 of file beast_Journal.cpp.
|
overridevirtual |
Bypass filter and write text to the sink at the specified severity.
Always write the message, but maintain the same formatting as if it passed through a level filter.
| level | Level to display in message. |
| text | Text to write to sink. |
Implements beast::Journal::Sink.
Definition at line 55 of file beast_Journal.cpp.