XAS::Lib::Log::Syslog - A class for logging syslog
This module is for logging to syslog.
This method initializes syslog. Sets the process, facility and requests that the pid be included.
This method translate the log level to an appropriate syslog priority and writes out the log line. The translation is a follows:
info => 'info', error => 'err', warn => 'warning', fatal => 'alert', trace => 'notice', debug => 'debug'
Closes the connection to syslog.
Kevin L. Esteb, <kevin@kesteb.us>
Copyright (c) 2012-2014 Kevin L. Esteb
This is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0. For details, see the full text of the license at http://www.perlfoundation.org/artistic_license_2_0.
To install XAS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XAS
CPAN shell
perl -MCPAN -e shell install XAS
For more information on module installation, please visit the detailed CPAN module installation guide.