Agent:...:Silent(3pm)

πŸ“¦
version 1.005 Β· 5 versions
, in ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’œ NAME πŸ’œ

okay so bestie, meet Log::Agent::Driver::Silent β€” the silent logging driver for Log::Agent. she does not talk. she is the quiet one in the group chat. periodt. πŸŽ€

This page lives in the User Contributed Perl Documentation section, manual page Agent:...:Silent(3pm), iykyk.


✨ SYNOPSIS ✨

use Log::Agent;
require Log::Agent::Driver::Silent;

my $driver = Log::Agent::Driver::Silent->make();
logconfig(-driver => $driver);

That's literally it. Load her, make her, hand her to logconfig. Slay. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the whole vibe: the silent logging driver remaps most of the logxxx() operations to NOPs. NOPs, as in "no operation", as in she's not doing all that. πŸ™ˆ She's giving main character energy by not showing up at all.

BUT β€” and this is the important part, no cap β€” only two of them are still out here doing the absolute most:

  • logconfess() still calls Carp::confess()
  • logdie() still calls die()

The rest? Nothing. Silence. She ate and left no crumbs. πŸ”₯


🌈 CHANNELS 🌈

All the channels go to /dev/null, so to speak. Every single one. Into the void. Bye. πŸ‘‹πŸ’€


πŸ‘‘ AUTHOR πŸ‘‘

Raphael Manfredi <Raphael_Manfredi@pobox.com> β€” legend behavior fr fr. 🫢


🌸 SEE ALSO 🌸


k byeeee bestie πŸŽ€βœ¨ this page is from perl v5.36.0, dated 2022-10-15, and it's part of Agent:...:Silent(3pm). go forth and be quiet in the most iconic way possible. πŸ’–πŸ¦‹

πŸ“¦ where this page comes from