Apache Log4cxx
Version 1.6.0
|
This class is used by the LOG4CXX_INFO_ASYNC and similar macros to support insertion operators. More...
#include <asyncbuffer.h>
Public Member Functions | |
AsyncBuffer () | |
An empty buffer. | |
AsyncBuffer (AsyncBuffer &&other) | |
A new buffer with the content of other . | |
~AsyncBuffer () | |
Release resources. | |
template<typename T> | |
AsyncBuffer & | operator<< (const T &value) |
Append a function to this buffer that will convert value to text. | |
bool | empty () const |
Has no item been added to this? | |
void | renderMessage (LogCharMessageBuffer &msg) |
Add text version of buffered values to msg . | |
void | clear () |
Remove all message appenders. |
This class is used by the LOG4CXX_INFO_ASYNC and similar macros to support insertion operators.
The class is not intended for use outside of that context.
log4cxx::helpers::AsyncBuffer::AsyncBuffer | ( | ) |
An empty buffer.
log4cxx::helpers::AsyncBuffer::AsyncBuffer | ( | AsyncBuffer && | other | ) |
A new buffer with the content of other
.
log4cxx::helpers::AsyncBuffer::~AsyncBuffer | ( | ) |
Release resources.
void log4cxx::helpers::AsyncBuffer::clear | ( | ) |
Remove all message appenders.
bool log4cxx::helpers::AsyncBuffer::empty | ( | ) | const |
Has no item been added to this?
|
inline |
Append a function to this buffer that will convert value
to text.
value | type must be copy-constructable |
void log4cxx::helpers::AsyncBuffer::renderMessage | ( | LogCharMessageBuffer & | msg | ) |
Add text version of buffered values to msg
.