-
-
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::Stamping - time-stamping routines
SYNOPSIS
Not intended to be used directly
DESCRIPTION
This package contains routines to generate the leading time-stamping on logged messages. Formats are identified by a name, and the stamping_fn() function converts that name into a CODE ref, defaulting to the "own" format when given an unknown name.
Here are the known formats:
date "[Fri Oct 22 16:23:10 1999]" none own "99/10/22 16:23:10" syslog "Oct 22 16:23:10"
Channels or Drivers which take a
-stampfmt
switch expect either a string giving the format name (e.g. "date"), or a CODE ref. That referenced routine will be called every time we need to compute a time stamp. It should not expect any parameter, and should return a stamping string.AUTHOR
Raphael Manfredi <Raphael_Manfredi@pobox.com>
SEE ALSO
Log::Agent(3), Log::Agent::Channel(3), Log::Agent::Driver(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.