XAS::System::Alert - The alert module for the XAS environment
Your program can use this module in the following fashion:
use XAS::System; my $alert = XAS::System->module('alert'); $alert->send( -priority => 'high', -facility => 'huston', -message => 'There is a problem' );
This is the module for sending alerts within the XAS environment.
This method initializes the module. It is automatically called when invoked by XAS::System->module().
This method will send an alert. It takes the following named parameters:
The notification level, 'high','medium','low'. Default 'low'.
The notification facility, 'systems', 'dba', etc. Default 'systems'.
The message text for the message
Kevin L. Esteb, <firstname.lastname@example.org>
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.