log4tango(3)

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

πŸ’– log4tango πŸ’–

okay so bestie, welcome to the log4tango manual page (that's log4tango(3) if we're being formal, which we're not πŸ’…). this is the whole API reference, every class, every typedef, every little function, and i'm gonna walk you through all of it like we're texting at 2am. no skipping, no "eh you get the idea". we go through everything. periodt. ✨


🌸 NAME 🌸

log4tango β€” that's it, that's the name. it's the C++ logging library for Tango, and it's giving main character energy. πŸŽ€


✨ SYNOPSIS ✨

πŸ¦‹ Namespaces

  • namespace threading

πŸ‘‘ Classes

  • class Appender
  • class AppenderAttachable
  • class FileAppender
  • struct FormatModifierComponent
  • class Layout
  • class LayoutAppender
  • class Level
  • struct LevelComponent
  • class Logger
  • struct LoggerNameComponent
  • class LoggerStream
  • struct LoggingEvent β€” the internal representation of logging events. (yes that's literally what it says and honestly? iconic of it.)
  • class LogInitiator
  • class LogSeparator
  • class LogStream
  • class LogStreamBuf
  • struct MessageComponent
  • struct MillisSinceEpochComponent
  • class OstreamAppender
  • class PatternLayout
  • struct ProcessorTimeComponent
  • class RollingFileAppender
  • struct SecondsSinceEpochComponent
  • struct StringLiteralComponent
  • class StringUtil
  • struct ThreadIdComponent
  • struct ThreadNameComponent
  • class TimeStamp
  • struct TimeStampComponent
  • class XMLLayout β€” XMLLayout is a simple fixed format Layout implementation. simple. fixed. format. slay. πŸ’œ

🌈 Typedefs

  • typedef std::map< std::string, Appender * > AppenderMap β€” a map of appenders.
  • typedef AppenderMap::iterator AppenderMapIterator β€” a map of appenders iterator.
  • typedef std::vector< Appender * > AppenderList β€” define what is a list of appenders.
  • typedef LoggerStream &(* ls_terminator) (LoggerStream &)
  • typedef class std::ios_base &(* StdIosFlag) (class std::ios_base &)
  • typedef AppenderMap::value_type AppenderMapValue

πŸ’« Functions

  • std::ostream & operator<< (std::ostream &o_str, LogSeparator &)

🫢 Variables

  • class LOG4TANGO_EXPORT Logger

πŸŽ€ Typedef Documentation πŸŽ€

so these are the aliases, the little nickname squad of the library. every single one, coming right up:

  • typedef std::vector<Appender*> log4tango::AppenderList β€” define what is a list of appenders. that's the whole description. it's a list. of appenders. no cap. πŸ“
  • typedef std::map<std::string, Appender*> log4tango::AppenderMap β€” a map of appenders.
  • typedef AppenderMap::iterator log4tango::AppenderMapIterator β€” a map of appenders iterator. yes bestie, the iterator for the map of appenders. it's exactly what it sounds like.
  • typedef AppenderMap::value_type log4tango::AppenderMapValue
  • typedef LoggerStream &(* log4tango::ls_terminator) (LoggerStream &)
  • typedef class std::ios_base &(* log4tango::StdIosFlag) (class std::ios_base &)

πŸ’… Function Documentation πŸ’…

only one function in this whole section and she's carrying the whole team:

  • std::ostream & log4tango::operator<< (std::ostream & o_str, LogSeparator &) β€” and it's marked [inline]. so it's inline. and it's the one and only. we love a solo act. πŸ’–

⭐ Variable Documentation ⭐

  • class LOG4TANGO_EXPORT log4tango::Logger β€” there she is. the variable. the export class. the moment. 🌟

πŸ™ˆ Author πŸ™ˆ

generated automatically by Doxygen for log4tango from the source code.

like, it literally generated itself. not me writing docs, the machine writing docs. we stan an automated queen. πŸ‘‘


and that's the whole page bestie!! you made it to the end, i'm so proud πŸ₯ΉπŸ’–

Version 5.0.2 β€” dated Thu Dec 5 2024 β€” that's the log4tango(3) tea, and yes i know, we read the entire thing together. mwah. πŸ’‹βœ¨πŸŽ€

πŸ“¦ where this page comes from