log4tango::LogStreamBuf(3)
π log4tango::LogStreamBuf π
okay bestie, so this is a page from the log4tango manual, section 3 β it's all about the class log4tango::LogStreamBuf and like, every single thing it does. no skips, no skimming, we're reading the whole thing together π«Ά
β¨ NAME β¨
log4tango::LogStreamBuf
that's it. that's the name. short, sweet, iconic π
πΈ SYNOPSIS πΈ
#include <LogStreambuf.hh>
and the family tree moment: it Inherits std::streambuf. yes she's a streambuf girlie π
π Public Member Functions π
LogStreamBuf (Logger *logger, Level::Value level, bool filter=true, size_t bsize=512)virtual ~LogStreamBuf ()
π¦ Protected Member Functions π¦
virtual std::streamsize xsputn (const char *, std::streamsize)virtual int sync (void)
π Friends π
class LogStream
π Constructor & Destructor Documentation π
β¨ log4tango::LogStreamBuf::LogStreamBuf (Logger * logger, Level::Value level, bool filter = true, size_t bsize = 512)
here's the constructor, with all her little default values lined up pretty: filter = true and bsize = 512. no notes, she's perfect π
π log4tango::LogStreamBuf::~LogStreamBuf () [virtual]
and the destructor! she's virtual, so like, she knows how to say bye properly at every level of the hierarchy. classy fr fr π
π₯ Member Function Documentation π₯
β int log4tango::LogStreamBuf::sync (void) [protected], [virtual]
protected and virtual?? the way that she's double-threat. main character energy, no cap.
πΈ std::streamsize log4tango::LogStreamBuf::xsputn (const char * _in, std::streamsize _in_size) [protected], [virtual]
okay so xsputn takes _in and _in_size and returns a std::streamsize, and she's also protected and virtual. the parameters are literally right there, spelled exactly like that, don't @ me π
π§ Friends And Related Function Documentation π§
π friend class LogStream [friend]
LogStream is a friend. and yes, the tag says [friend], twice actually β it's giving "we're not just friends, we're friends" ππ«Ά
π Author π
Generated automatically by Doxygen for log4tango from the source code.
so nobody hand-wrote this one, the robot did it. still slay though β¨
aaaand that's the whole page, bestie!! π no sections skipped, every option, flag, argument, value, default, member, friend and signature accounted for. you understood it, you absorbed it, you ate. π
Version 5.0.2 β dated Thu Dec 5 2024, straight from the log4tango::LogStreamBuf(3) page itself. mwah, take care of her πππ¦
π¦ where this page comes from
- debian bookworm: liblog4tango-doc 9.3.4+dfsg1-2+deb12u1 Β· LGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms