log4tango::LogStreamBuf(3)

πŸ“¦
version 9.3.4 Β· 2 versions
, in debian bookworm

πŸ’– 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 πŸ’–


πŸ’œ 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