Kevin L. Esteb > XAS-0.04 > XAS::Monitor::Base

Download:
XAS-0.04.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.02   Source   Latest Release: XAS-0.05

NAME ^

XAS::Monitor::Base - A Perl extension for the XAS environment

SYNOPSIS ^

 use XAS::Class
   version => '0.01',
   base    => 'XAS::Monitor::Base',
 ;

DESCRIPTION ^

This module is the base class for monitor modules. It provides common routines that are needed by the other modules.

METHODS ^

log($level, $message)

This method sends log items to the logger session. It takes two parameters: level and message. Where level is one supported by your logger.

$level

The log level to use.

$message

The entry to write to the log file.

exception_handler($ex)

A common exception handler for error reporting. It takes one parameter, the exception.

$ex

The exception that is to be handled.

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.

syntax highlighting: