Log::Agent::Tag::String - a constant tag string
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 => " -- ", );
This class represents a constant tag string.
The following parameters are defined, in alphabetical order:
-name
The name of this tag. Currently unused.
-postfix
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
The separation string between the tag and the log message. A single space by default.
-value
The tag's value.
Raphael Manfredi <Raphael_Manfredi@pobox.com>
Log::Agent::Tag(3), Log::Agent::Message(3).
To install Log::Agent, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Log::Agent
CPAN shell
perl -MCPAN -e shell install Log::Agent
For more information on module installation, please visit the detailed CPAN module installation guide.