Agent::Tag_List(3pm)
πΈ NAME πΈ
Log::Agent::Tag_List β bestie, this is the vibe where you get to make your own tags and they get stapled onto every single log message. Like a signature, but for logs. π
β¨ SYNOPSIS β¨
okay so here's the whole moveset, no cap:
use Log::Agent qw(logtags);
my $taglist = logtags();
$taglist->append(@tags); # adds @tags at the tail of list
$taglist->prepend(@tags); # adds @tags at the head of list
look at her go π
π¦ DESCRIPTION π¦
So this class is the one holding the list of your user-defined tags, and those tags get added to each log message. fr fr, every one. π
Where does the initial list come from? The -tags argument of the logconfig() routine. that's it, that's the origin story. go peek at Log::Agent(3) for the full lore π
π INTERFACE π
Here's everything you can actually do with her:
appendlist β tacks a list ofLog::Agent::Tagobjects onto the end of the existing list. tail of the train, choo choo πprependlist β sticks a list ofLog::Agent::Tagobjects onto the front of the existing list. main character energy, she goes first π
π AUTHOR π
Raphael Manfredi <Raphael_Manfredi@pobox.com> β the icon who wrote this π
π SEE ALSO π
iykyk, go read those next π«Ά
and that's the whole page bestie!! π this lil document is from perl v5.36.0, dated 2022-10-15, and it's filed in the manual as Agent::Tag_List(3pm) under User Contributed Perl Documentation. slay, go log something pretty β¨πΈ
π¦ where this page comes from
- ubuntu noble: liblog-agent-perl 1.005-2 Β· Artistic-2.0
- ubuntu resolute: liblog-agent-perl 1.005-2 Β· Artistic-2.0
- ubuntu stonking: liblog-agent-perl 1.005-2 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms