NAME

XAS::Lib::Daemon::Logging - A Perl extension for the XAS environment

SYNOPSIS

use XAS::Lib::Daemon::Logging;

my $log = XAS::Lib::Daemon::Logging->new(
    -logger => 'logger'
    -poe   => $poe_kernel
);

$log->info('it works');

DESCRIPTION

This module simplifies the logging process to XAS::Lib::Daemon::Logger.

METHODS

new

This method initializes the module and takes two parameters.

-logger

The logger to use.

-poe

A handle to the POE kernel.

info($message)

Send "info" log information to the logger.

warn($message)

Send "warn" log information to the logger.

error($message)

Send "error" log information to the logger.

fatal($message)

Send "fatal" log information to the logger.

debug($message)

Send "debug" log information to the logger.

SEE ALSO

XAS

AUTHOR

Kevin L. Esteb, <kevin@kesteb.us>

COPYRIGHT AND LICENSE

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.