log4cpp::B...nfigurator(3)

πŸ“¦
version 1.1.4 Β· 3 versions
, in opensuse-leap 16.0

πŸ’… NAME πŸ’…

log4cpp::BasicConfigurator β€” okay so bestie, this class is literally the "just make it work" default setup for log4cpp: it adds a FileAppender that logs to stdout and uses a BasicLayout to the root Category. That's it. That's the whole vibe. πŸŽ€

(this is all from the Library Functions Manual, btw β€” yes, the fancy official-sounding one ✨)


✨ SYNOPSIS ✨

#include <BasicConfigurator.hh>

🌸 Static Public Member Functions 🌸

  • static void configure () β€” Performs a minimal configuration of log4cpp. lowkey does the bare minimum and honestly? same. πŸ’…

πŸ¦‹ Detailed Description πŸ¦‹

This class implements a trivial default configuration for log4cpp: it adds a FileAppender that logs to stdout and uses a BasicLayout to the root Category. No cap, that's the entire personality β€” one appender, one layout, root Category, done. 🫢

Since β€” 0.3.2 (so it's been iconic for a minute πŸ‘‘)


πŸ”₯ Member Function Documentation πŸ”₯

⭐ void log4cpp::BasicConfigurator::configure () [static]

Performs a minimal configuration of log4cpp. Like, minimal minimal. It's giving "I set up your logging so you don't have to" and then it goes back to minding its own business. πŸ’–


πŸ’œ Author πŸ’œ

Generated automatically by Doxygen for log4cpp from the source code. Not me writing a love letter by hand β€” the machine did that fr fr. πŸ™ˆ


πŸŽ€ And that's the whole page, bestie! Cute little sign-off: this was log4cpp Version 1.1, served fresh from the Library Functions Manual β€” go forth and log to stdout with main character energy. πŸŒˆπŸ’–βœ¨
πŸ“¦ where this page comes from