Arthur Corliss > Paranoid-0.36 > Paranoid::Log::Syslog

Download:
Paranoid/Paranoid-0.36.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  5
Open  0
View/Report Bugs
Module Version: 0.83   Source  

NAME ^

Paranoid::Log::Syslog - Log Facility Syslog

VERSION ^

$Id: Syslog.pm,v 0.83 2010/06/03 19:04:07 acorliss Exp $

SYNOPSIS ^

  use Paranoid::Log;
  
  enableFacility('local3', 'syslog', 'debug', '+');
  enableFacility('local3', 'syslog', 'debug', '+', 'my-daemon');

DESCRIPTION ^

This module implements UNIX syslog support for logging purposes. Which should seem natural given that the entire Paranoid::Log API is modeled closely after it.

SUBROUTINES/METHODS ^

NOTE: Given that this module is not intended to be used directly nothing is exported.

init

log

remove

dump

DEPENDENCIES ^

o

Paranoid::Debug

o

Unix::Syslog

BUGS AND LIMITATIONS ^

Because we're keeping a connection to the syslogger open we don't support enabling multiple facilities that log as different idents, etc. The first syslog facility that gets activated will set those parameters.

AUTHOR ^

Arthur Corliss (corliss@digitalmages.com)

LICENSE AND COPYRIGHT ^

This software is licensed under the same terms as Perl, itself. Please see http://dev.perl.org/licenses/ for more information.

(c) 2005, Arthur Corliss (corliss@digitalmages.com)

syntax highlighting: