man Log::Agent::Tag::Priority () - a log priority tag string

NAME

Log::Agent::Tag::Priority - a log priority tag string

SYNOPSIS

 Not intended to be used directly
 Inherits from Log::Agent::Tag.

DESCRIPTION

This class represents a log priority tag string.

CREATION ROUTINE PARAMETERS

The following parameters are defined, in alphabetical order: Specifies the priority/level string to display, with minimal variable substitution. For instance:

 -display => '[$priority/$level]'
The defined variables are documented in the DISPLAY VARIABLES section underneath. This parameter is internally added by CWLog::Agent when computing the priority tag, since only it knows the level of the current messsage. 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. This parameter is internally added by CWLog::Agent when computing the priority tag, since only it knows the priority of the current messsage. The separation string between the tag and the log message. A single space by default.

DISPLAY VARIABLES

The CW-display switch understands a few variables that can be substituted in the supplied string. Both CW$var and CW${var} forms are supported. Unknown variables are left untouched. The full priority name of the logged message, e.g. warning or error. The associated priority level of the logged message, a number. For instance, the level associated to warning is CW4. See Log::Agent::Priorities for the default name -> level mapping.

AUTHOR

Raphael Manfredi <Raphael_Manfredi@pobox.com>

SEE ALSO