NAME

Log::Any::Adapter::Syslog - send Log::Any logs to syslog

VERSION

version 1.0

SYNOPSIS

use Log::Any::Adapter;
Log::Any::Adapter->set('Syslog');

# You can override defaults:
use Unix::Syslog qw{:macros};
Log::Any::Adapter->set('Syslog', 'my-name', LOG_PID|LOG_PERROR, LOG_LOCAL7);

# Passing undef as the name gets the default, which this is:
Log::Any::Adapter->set('Syslog', undef, LOG_PID);

DESCRIPTION

Log::Any is a generic adapter for writing logging into Perl modules; this adapter use the Unix::Syslog module to direct that output into the standard Unix syslog system.

AUTHORS

Daniel Pittman <daniel@rimspace.net>

COPYRIGHT AND LICENSE

Copyright 2010 by Daniel Pittman <daniel@rimspace.net>

Log::Any::Adapter::Syslog is provided "as is" and without any express or implied warranties, including, without limitation, the implied warranties of merchantibility and fitness for a particular purpose.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.