Log::Agent::Tag_List(3pm)

Log::Agent::Tag_List3pm

User-defined tags to add to every log

Usage

 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

Overview

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).

Interface

The following interface is available:

append list

Append list of "Log::Agent::Tag" objects to the existing list.

prepend list

Prepends list of "Log::Agent::Tag" objects to the existing list.

Releases

12 releases since Debian 3.0 (Woody); the text changed 7 times.

  1. 3.0
  2. 3.1
  3. 4.0–5.0
  4. 6.0–7
  5. 8
  6. 9–10
  7. 11
  8. 12–13

Author

Raphael Manfredi <[email protected]>

From liblog-agent-perl 1.005-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.