---
name: "Log::Agent::Tag::String"
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::String"
---

# Log::Agent::Tag::String(3pm)

a constant tag string

## NAME

Log::Agent::Tag::String - a constant tag string

## SYNOPSIS

```
 require Log::Agent::Tag::String;
 # Inherits from Log::Agent::Tag.
 my $tag = Log::Agent::Tag::String->make(
     -name      => "session id",
     -value     => $session,
     -postfix   => 1,
     -separator => " -- ",
 );
```

## DESCRIPTION

This class represents a constant tag string.

## CREATION ROUTINE PARAMETERS

The following parameters are defined, in alphabetical order:

- "-name" =\> *name*

  The name of this tag.  Currently unused.

- "-postfix" =\> *flag*

  Whether tag should be placed after or before the log message. By default, it is prepended to the log message, i.e. this parameter is false.

- "-separator" =\> *string*

  The separation string between the tag and the log message. A single space by default.

- "-value" =\> *string*

  The tag's value.

## AUTHOR

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

## SEE ALSO

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