---
name: "Log::Agent::Tag_List"
section: "3pm"
platform: "linux"
package: "liblog-agent-perl"
version: "1.005-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Log::Agent::Tag_List"
---

# Log::Agent::Tag\_List(3pm)

user-defined tags to add to every log

## NAME

Log::Agent::Tag\_List - user-defined tags to add to every log

## SYNOPSIS

```
 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
```

## DESCRIPTION

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.

## AUTHOR

Raphael Manfredi *\<Raphael\_Manfredi@pobox.com\>*

## SEE ALSO

**Log::Agent**(3), **Log::Agent::Tag**(3).
