Log::Agent::Tag::Priority - a log priority tag string |
Log::Agent::Tag::Priority - a log priority tag string
Not intended to be used directly Inherits from Log::Agent::Tag.
This class represents a log priority tag string.
The following parameters are defined, in alphabetical order:
-display
=> string-display => '[$priority/$level]'
The defined variables are documented in the DISPLAY VARIABLES section underneath.
-level
=> levelLog::Agent
when computing the
priority tag, since only it knows the level of the current message.
-postfix
=> flag-priority
=> prioLog::Agent
when computing the
priority tag, since only it knows the priority of the current message.
-separator
=> string
The -display
switch understands a few variables that can be substituted
in the supplied string. Both $var and ${var}
forms are supported.
Unknown variables are left untouched.
$priority
$level
4
. See the Log::Agent::Priorities manpage
for the default name -> level mapping.
Raphael Manfredi <Raphael_Manfredi@pobox.com>
Log::Agent::Tag(3), Log::Agent::Message(3), Log::Agent::Priorities(3).
Log::Agent::Tag::Priority - a log priority tag string |