1Agent::Tag_List(3) User Contributed Perl Documentation Agent::Tag_List(3)
2
3
4
6 Log::Agent::Tag_List - user-defined tags to add to every log
7
9 use Log::Agent qw(logtags);
10
11 my $taglist = logtags();
12 $taglist->append(@tags); # adds @tags at the tail of list
13 $taglist->prepend(@tags); # adds @tags at the head of list
14
16 This class handles the list of user-defined tags, which are added to
17 each log message. The initial list is taken from the "-tags" argument
18 of the logconfig() routine. See Log::Agent(3).
19
21 The following interface is available:
22
23 append list
24 Append list of "Log::Agent::Tag" objects to the existing list.
25
26 prepend list
27 Prepends list of "Log::Agent::Tag" objects to the existing list.
28
30 Raphael Manfredi <Raphael_Manfredi@pobox.com>
31
33 Log::Agent(3), Log::Agent::Tag(3).
34
35
36
37perl v5.36.0 2022-07-22 Agent::Tag_List(3)