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 \*(C`-tags\*(C' argument of the logconfig() routine. See Log::Agent\|(3).
The following interface is available:
Append list of \*(C`Log::Agent::Tag\*(C' objects to the existing list.
Prepends list of \*(C`Log::Agent::Tag\*(C' objects to the existing list.
Raphael Manfredi <[email protected]>
Log::Agent\|(3), Log::Agent::Tag\|(3).