NAME

Helios::Logger::Internal - Helios::Logger subclass implementing Helios internal logging

SYNOPSIS

#in helios.ini, enable internal Helios logging (this is default)
internal_logger=on

#in helios.ini, turn off internal logging 
# make sure you've turned on another logger with the logger= directive
# otherwise you will have NO logging system active
internal_logger=off

DESCRIPTION

Helios::Logger::Internal is a refactor of the logging functionality found in the Helios 2.23 and earlier Helios::Service->logMsg(). This allows Helios services to retain logging functionality found in the previous Helios core system while also allowing Helios to be extended to support custom logging solutions by subclassing Helios::Logger.

IMPLEMENTED METHODS

init()

Helios::Logger::Internal->init() attempts to initialize the connection to the Helios collective database so it will be available for later calls to logMsg().

logMsg($job, $priority_level, $message)

Implementation of the Helios::Service internal logging code refactored into a Helios::Logger class.

SEE ALSO

Helios::Service, Helios::Logger

AUTHOR

Andrew Johnson, <lajandy at cpan dot org>

COPYRIGHT AND LICENSE

Copyright (C) 2008 by CEB Toolbox, Inc.

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.0 or, at your option, any later version of Perl 5 you may have available.

WARRANTY

This software comes with no warranty of any kind.