NAME

Log::ger::Output::Syslog - Send logs to syslog

VERSION

version 0.005

SYNOPSIS

use Log::ger::Output 'Syslog' => (
    ident    => 'myprog', # required
    facility => 'daemon', # optional, default 'user'
);
use Log::ger;

log_warn "blah ...";

DESCRIPTION

This output plugin sends logs to syslog using Sys::Syslog. It accepts all syslog(3) facilities.

CONFIGURATION

ident

facility

logopt

SEE ALSO

Log::ger

Sys::Syslog

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2020, 2017 by perlancar@cpan.org.

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