LOG4SHIB::CATEGORYSTREAM(3)
π NAME π
okay bestie, this is the log4shib::CategoryStream(3) page from the log4shib Library Functions Manual, and the whole mood is: log4shib::CategoryStream β this class enables streaming simple types and objects to a category π
β¨ SYNOPSIS β¨
#include <CategoryStream.hh>
π Public Types π
typedef CategoryStream &(* cspf) (CategoryStream &)β thecspftypedef, exactly as written, no cap π«Ά
π«Ά 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)β this overload is listed in the original with just its signature, so Iβm not inventing extra lore π
πΈ Friends πΈ
LOG4SHIB_EXPORT friend CategoryStream & eol (CategoryStream &os)β eol manipulator π¦
π¦ Detailed Description π¦
This class enables streaming simple types and objects to a category.
Use category.errorStream(), etc. to obtain a CategoryStream class. iykyk β¨
π Member Typedef Documentation π
typedef CategoryStream &(* log4shib::CategoryStream::cspf) (CategoryStream &)
π Constructor & Destructor Documentation π
log4shib::CategoryStream::CategoryStream (Category & category, Priority::Value priority)
Construct a CategoryStream for given Category with given priority.
Parameters
- category β The category this stream will send log messages to.
- priority β The priority the log messages will get or
Priority::NOTSETto silently discard any streamed in messages.
log4shib::CategoryStream::~CategoryStream ()
Destructor for CategoryStream.
π Member Function Documentation π
void log4shib::CategoryStream::flush ()
Flush the contents of the stream buffer to the Category and empties the buffer. clean and satisfying, fr fr π§
Category & log4shib::CategoryStream::getCategory () const [inline]
Returns the destination Category for this stream.
Returns
- The Category.
Priority::Value log4shib::CategoryStream::getPriority () const [inline]
Returns the priority for this stream.
Returns
- The priority.
template<typename T> CategoryStream & log4shib::CategoryStream::operator<< (const T & t) [inline]
Stream in arbitrary types and objects.
Parameters
- t β The value or object to stream in.
Returns
- A reference to itself.
CategoryStream & log4shib::CategoryStream::operator<< (cspf pf)
this one is listed with just the signature and no extra description in the original, bestie πβ¨
π Friends And Related Symbol Documentation π
LOG4SHIB_EXPORT friend CategoryStream & eol (CategoryStream & os) [friend]
eol manipulator
π Author π
Generated automatically by Doxygen for log4shib from the source code.
okay thatβs the whole page, bestie π«Ά the footer tea is: source/version log4shib Version 2.0.1, page log4shib::CategoryStream(3) β and the original footer shows no separate date, so Iβm not making one up πβ¨ periodt
π¦ where this page comes from
- opensuse-leap 16.0: liblog4shib-devel 2.0.1-160000.3.2 Β· LGPL-2.1-only
- opensuse-leap 16.0: liblog4shib-devel 2.0.1-160000.3.2 Β· LGPL-2.1-only
- opensuse-leap 16.0: liblog4shib-devel 2.0.1-160000.3.2 Β· LGPL-2.1-only
- opensuse-leap 16.0: liblog4shib-devel 2.0.1-160000.3.2 Β· LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms