GridShibCA::Logger

Interface to logging based on Perl Sys::Syslog Module.

Configuration Parameters

This class uses the following values from gridshib-ca.conf:

SyslogId
Identifying string to use with Syslog.

SyslogFacility
Facility to use with Syslog.

Methods

new()
Create a new Logger object.

Arguments: None

Returns: Logger instance

log()
Log a message.

Arguments:

$level - one of ``info'', ``warn'', ``err''

$format, @args - as would be presented to sprintf()

Returns: Nothing

info()
Log an informative message

Arguments:

$format, @args - as would be presented to sprintf()

Returns: Nothing

debug()
Log an debugging message if so configured.

Arguments:

$format, @args - as would be presented to sprintf()

Returns: Nothing

err()
Log an error message

Arguments:

$format, @args - as would be presented to sprintf()

Returns: Nothing

Version

GridShib-CA version 0.4.0 ($Id: Logger.pm.in,v 1.6 2007/03/15 02:19:15 welch Exp $)