#include <CategoryStream.hh>
Collaboration diagram for log4cpp::CategoryStream:
Public Types | |
enum | Separator { ENDLINE } |
Enumeration of special 'Separators'. More... | |
Public Methods | |
CategoryStream (Category &category, Priority::Value priority) | |
Construct a CategoryStream for given Category with given priority. More... | |
~CategoryStream () | |
Destructor for CategoryStream. More... | |
Category & | getCategory () const |
Returns the destination Category for this stream. More... | |
Priority::Value | getPriority () const throw () |
Returns the priority for this stream. More... | |
CategoryStream & | operator<< (Separator separator) |
Streams in a Separator. More... | |
void | flush () |
Flush the contents of the stream buffer to the Category and empties the buffer. More... | |
template<typename T> CategoryStream & | operator<< (const T &t) |
Stream in arbitrary types and objects. More... |
Use category.errorStream(), etc. to obtain a CategoryStream class.
|
Enumeration of special 'Separators'. Currently only contains the 'ENDLINE' separator, which separates two log messages. |
|
Construct a CategoryStream for given Category with given priority.
|
|
Destructor for CategoryStream.
|
|
Flush the contents of the stream buffer to the Category and empties the buffer.
|
|
Returns the destination Category for this stream.
|
|
Returns the priority for this stream.
|
|
Stream in arbitrary types and objects.
|
|
Streams in a Separator. If the separator equals CategoryStream::ENDLINE it sends the contents of the stream buffer to the Category with set priority and empties the buffer.
|