|
rippled
|
Provide a light-weight way to check active() before string formatting. More...
#include <Journal.h>

Public Member Functions | |
| Stream () | |
| Create a stream which produces no output. | |
| Stream (Sink &sink, Severity level) | |
| Create a stream that writes at the given level. | |
| Stream (Stream const &other) | |
| Construct or copy another Stream. | |
| Stream & | operator= (Stream const &other)=delete |
| Sink & | sink () const |
| Returns the Sink that this Stream writes to. | |
| Severity | level () const |
| Returns the Severity level of messages this Stream reports. | |
| template<typename T > | |
| Journal::ScopedStream | operator<< (T const &t) const |
| bool | active () const |
Returns true if sink logs anything at this stream's level. | |
| operator bool () const | |
| ScopedStream | operator<< (std::ostream &manip(std::ostream &)) const |
| Output stream support. | |
| template<typename T > | |
| ScopedStream | operator<< (T const &t) const |
Private Attributes | |
| Sink & | m_sink |
| Severity | m_level |
Provide a light-weight way to check active() before string formatting.
|
explicit |
| beast::Journal::Stream::Stream | ( | Stream const & | other | ) |
| Sink & beast::Journal::Stream::sink | ( | ) | const |
| Severity beast::Journal::Stream::level | ( | ) | const |
| bool beast::Journal::Stream::active | ( | ) | const |
| Journal::ScopedStream beast::Journal::Stream::operator<< | ( | std::ostream & | manipstd::ostream & | ) | const |
Output stream support.
Definition at line 164 of file beast_Journal.cpp.
| ScopedStream beast::Journal::Stream::operator<< | ( | T const & | t | ) | const |
| Journal::ScopedStream beast::Journal::Stream::operator<< | ( | T const & | t | ) | const |