Log::Agent::Stamping(3pm)

Log::Agent::Stamping3pm

Time-stamping routines

Usage

 Not intended to be used directly

Overview

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.

Releases

12 releases since Debian 3.0 (Woody); the text changed 7 times.

  1. 3.0
  2. 3.1
  3. 4.0–5.0
  4. 6.0–7
  5. 8
  6. 9–10
  7. 11
  8. 12–13

Author

Raphael Manfredi <[email protected]>

From liblog-agent-perl 1.005-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.