GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  LOG::AGENT::TAG::PRIORITY (3)

.ds Aq ’

NAME

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

CONTENTS

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:
-display => string Specifies the priority/level string to display, with minimal variable substitution. For instance:



 -display => [$priority/$level]



The defined variables are documented in the <B>DISPLAY VARIABLESB> section underneath.

-level => level This parameter is internally added by Log::Agent when computing the priority tag, since only it knows the level of the current message.
-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.
-priority => prio This parameter is internally added by Log::Agent when computing the priority tag, since only it knows the priority of the current message.
-separator => string The separation string between the tag and the log message. A single space by default.

DISPLAY VARIABLES

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 The full priority name of the logged message, e.g. warning or error.
$level The associated priority level of the logged message, a number. For instance, the level associated to warning is 4. See Log::Agent::Priorities for the default name -> level mapping.

AUTHOR

Raphael Manfredi <Raphael_Manfredi@pobox.com>

SEE ALSO

Log::Agent::Tag(3), Log::Agent::Message(3), Log::Agent::Priorities(3).
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 AGENT::TAG::PRIORITY (3) 2015-11-30

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.