-
-
12 Apr 2021 00:08:29 UTC
- Distribution: Log-Agent
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (1)
- Testers (166 / 0 / 0)
- Kwalitee
Bus factor: 1- License: artistic_2
- Activity
24 month- Tools
- Download (56.02KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
++ed by:1 non-PAUSE user- Dependencies
- Tie::Array
- Reverse dependencies
- CPAN Testers List
- Dependency graph
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).
Module Install Instructions
To install Log::Agent, copy and paste the appropriate command in to your terminal.
cpanm Log::Agent
perl -MCPAN -e shell install Log::Agent
For more information on module installation, please visit the detailed CPAN module installation guide.