1Agent::Stamping(3)    User Contributed Perl Documentation   Agent::Stamping(3)
2
3
4

NAME

6       Log::Agent::Stamping - time-stamping routines
7

SYNOPSIS

9        Not intended to be used directly
10

DESCRIPTION

12       This package contains routines to generate the leading time-stamping on
13       logged messages.  Formats are identified by a name, and the
14       stamping_fn() function converts that name into a CODE ref, defaulting
15       to the "own" format when given an unknown name.
16
17       Here are the known formats:
18
19        date      "[Fri Oct 22 16:23:10 1999]"
20        none
21        own       "99/10/22 16:23:10"
22        syslog    "Oct 22 16:23:10"
23
24       Channels or Drivers which take a "-stampfmt" switch expect either a
25       string giving the format name (e.g. "date"), or a CODE ref.  That
26       referenced routine will be called every time we need to compute a time
27       stamp.  It should not expect any parameter, and should return a
28       stamping string.
29

AUTHOR

31       Raphael Manfredi <Raphael_Manfredi@pobox.com>
32

SEE ALSO

34       Log::Agent(3), Log::Agent::Channel(3), Log::Agent::Driver(3).
35
36
37
38perl v5.28.1                      2017-10-27                Agent::Stamping(3)
Impressum