Sympa::Log(3Sympa)

πŸ’– Sympa::Log β€” the logging glow-up

okay bestie, welcome to Sympa::Log(3Sympa), straight out of the sympa 6.2.80 man pages ✨ this is the logging facility of Sympa, and we're gonna get into it together.


🌸 NAME

Sympa::Log β€” the logging facility of Sympa. it's giving "who logged what, when, and how loud" πŸ’…


✨ SYNOPSIS

so here's the vibe, no cap β€” this is literally how you use it:

use Sympa::Log;

my $log = Sympa::Log->instance;
$log->openlog(facility => $facility);
$log->{level} = 0;
$log->syslog('info', '%s: Stat logging', $$);

that's it. that's the whole entrance exam πŸŽ€


πŸ¦‹ DESCRIPTION

TBD.

...

yeah. that's genuinely all she wrote, bestie 😭 the description is literally just TBD. β€” the author said "the code is the documentation, iykyk" and honestly? iconic behaviour πŸ™ˆ


πŸ‘‘ Methods

okay so here's every method, and I'm not skipping a single one, even the ones that are also TBD. (they're all TBD., but we respect the list 🫢):

  • instance ( ) β€” the Constructor, periodt. Creates a brand new singleton instance of Sympa::Log. so you get one, and everyone shares her. main character energy only πŸ’œ
  • openlog ( [ options ... ] ) β€” TBD.
  • syslog ( $level, $format, [ parameters ... ] ) β€” TBD.
  • get_log_date β€” TBD,
  • db_log β€” TBD.
  • add_stat β€” TBD.
  • get_first_db_log β€” TBD.
  • get_next_db_log β€” TBD.
  • aggregate_stat β€” TBD.
  • aggregate_daily_data β€” TBD.

(lowkey the whole method crew is a mystery box πŸ“¦ but the names? the names ate, fr fr.)


🌈 Properties

an instance of Sympa::Log has these properties, and yes bestie, there are only two:

  • {level} β€” the logging level. it's an Integer or undef. choose your volume, literally πŸ”Š
  • {log_to_stderr} β€” if this one's set, logs made by syslog() get printed out to standard error. and the value? it can be the log level(s) you want printed, or just the string 'all'. so you can be like "only this level, bestie" or "GIVE ME EVERYTHING" πŸ’€

πŸ‘€ SEE ALSO

go peek at these too, they're in the group chat:

  • Sys::Syslog
  • Sympa::DatabaseManager

πŸ“œ HISTORY

a little lore drop for you, because we love a backstory:

  • The Database logging feature was contributed by Adrien Brard, and it showed up on Sympa 5.3. 🫢 respect the contribution.
  • The Statistics feature appeared on Sympa 6.2. ✨
  • The Log module was renamed to Sympa::Log on Sympa 6.2. glow-up confirmed πŸ’…

heads up bestie: the DESCRIPTION and most method bodies are TBD. in the original β€” I'm not making anything up about them, so don't come for me. that's just what the page says πŸ™ˆ

and that's the whole page, gorgeous 🌸 big love to sympa 6.2.80, dated 2026-10-19 β€” mwah πŸ’‹ catch you on the next man page, bye bestie! πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from