XAS::Lib::Daemon::Logging - A Perl extension for the XAS environment
use XAS::Lib::Daemon::Logging; my $log = XAS::Lib::Daemon::Logging->new( -logger => 'logger' -poe => $poe_kernel ); $log->info('it works');
This module simplifies the logging process to XAS::Lib::Daemon::Logger.
This method initializes the module and takes two parameters.
The logger to use.
A handle to the POE kernel.
Send "info" log information to the logger.
Send "warn" log information to the logger.
Send "error" log information to the logger.
Send "fatal" log information to the logger.
Send "debug" log information to the logger.
XAS
Kevin L. Esteb, <kevin@kesteb.us>
Copyright (C) 2012 by Kevin L. Esteb
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
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.