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

Log::Agent::Tag::String3pm

A constant tag string

Usage

 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 => " -- ",
 );

Overview

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.

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.