Log::Agent::Tag_List - user-defined tags to add to every log
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
This class handles the list of user-defined tags, which are added to each log message. The initial list is taken from the -tags argument of the logconfig() routine. See Log::Agent(3).
-tags
The following interface is available:
Append list of Log::Agent::Tag objects to the existing list.
Log::Agent::Tag
Prepends list of Log::Agent::Tag objects to the existing list.
Raphael Manfredi <Raphael_Manfredi@pobox.com>
Log::Agent(3), Log::Agent::Tag(3).
To install Log::Agent, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Log::Agent
CPAN shell
perl -MCPAN -e shell install Log::Agent
For more information on module installation, please visit the detailed CPAN module installation guide.