Authen...le::Log(3pm)

πŸ“¦
version 0.5 Β· 6 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble

πŸ’– Authen::Simple::Log β€” the manual page, but make it cute πŸ’–

okay bestie, so this is Authen::Simple::Log(3pm), straight out of the User Contributed Perl Documentation collection. it's a whole manual page and it is, and i say this with love, adorably tiny. sit down, grab a strawberry, let's get into it πŸ“


✨ NAME ✨

Authen::Simple::Log β€” it's the Simple log class. that's the whole name. she said "i am what i am" πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

here's how you actually touch her:

$log = Authen::Simple::Log->new;
$log->error($message);
$log->warn($message);

make one, yell at it with an error, yell at it with a warning. that's the vibe. no cap.


🌸 DESCRIPTION 🌸

okay so here's the tea: Authen::Simple::Log is the default log class for Authen::Simple. she's the one who shows up when nobody else was invited. lowkey iconic for that alone πŸ‘‘


πŸŽ€ METHODS πŸŽ€

the girlies, one by one:

  • new β€” the constructor bestie πŸ’– takes no parameters. zero. nothing. she arrives with nothing and needs nothing.
  • debug (@) β€” does absolutely nothing. literally nothing. not a single thing. she's just standing there, slaying, in silence 🧚
  • error (@) β€” logs an error message to STDERR. this one's fr fr, she actually speaks, and she speaks to the error stream 😭
  • info (@) β€” also does nothing. same energy as debug, honestly. just vibes ✨
  • warn (@) β€” logs a warning message to STDERR if $^W is true. so like… she has a condition. if $^W is true she's yapping to STDERR, if not, she's silent. main character with a boundary πŸ™ˆ
not me realizing half these methods are doing nothing… and honestly? that's their right πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

go check out her friends, they're all connected:

  • Authen::Simple
  • Authen::Simple::Adapter

iykyk 🌈


πŸ‘‘ AUTHOR πŸ‘‘

Christian Hansen chansen@cpan.org β€” thank you for your service, legend 🫢


This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself. periodt. freedom of the software variety 🌸


and that's the whole page bestie πŸŽ€ this one came from perl v5.32.0, dated 2021-01-02 β€” a lil vintage moment, honestly. go forth and log responsibly πŸ’–βœ¨

πŸ“¦ where this page comes from