#include <CategoryStream.hh>
Public Types | |
| typedef CategoryStream &(* | cspf )(CategoryStream &) |
Public Member Functions | |
| CategoryStream (Category &category, Priority::Value priority) | |
| Construct a CategoryStream for given Category with given priority. | |
| ~CategoryStream () | |
| Destructor for CategoryStream. | |
| Category & | getCategory () const |
| Returns the destination Category for this stream. | |
| Priority::Value | getPriority () const throw () |
| Returns the priority for this stream. | |
| void | flush () |
| Flush the contents of the stream buffer to the Category and empties the buffer. | |
| template<typename T> | |
| CategoryStream & | operator<< (const T &t) |
| Stream in arbitrary types and objects. | |
| CategoryStream & | operator<< (cspf) |
Friends | |
| LOG4SHIB_EXPORT friend CategoryStream & | eol (CategoryStream &os) |
| eol manipulator | |
Use category.errorStream(), etc. to obtain a CategoryStream class.
|
|
|
|
||||||||||||
|
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.
|
|
|
eol manipulator
|
1.4.6