proxygen
|
#include <LogStream.h>
Public Member Functions | |
LogStream (LogStreamProcessor *processor) | |
~LogStream () | |
bool | empty () const |
std::string | extractString () |
LogStreamProcessor * | getProcessor () const |
Private Attributes | |
LogStreamBuffer | buffer_ |
LogStreamProcessor *const | processor_ |
A std::ostream implementation for use by the logging macros.
All-in-all this is pretty similar to std::stringstream, but lets us destructively extract an rvalue-reference to the underlying string.
Definition at line 60 of file LogStream.h.
|
explicit |
folly::LogStream::~LogStream | ( | ) |
Definition at line 54 of file LogStream.cpp.
|
inline |
|
inline |
|
inline |
Definition at line 78 of file LogStream.h.
Referenced by folly::LogStreamVoidify< true >::operator&().
|
private |
Definition at line 83 of file LogStream.h.
Referenced by LogStream().
|
private |
Definition at line 84 of file LogStream.h.