App::OverWatch::EventLog - EventLog base class
version 0.007
use App::OverWatch; my $OverWatch = App::OverWatch->new(); [...] my $EventLog = $OverWatch->EventLog();
App::OverWatch::EventLog - App::OverWatch Events System
Create an App::OverWatch::EventLog object - usualy handled by App::OverWatch.
Log an event in the database.
$EventLog->create_event({ system => 'global', subsystem => 'uk', worker => 'myworkerid', type => 'START', ## START / PROGRESS / END / POINT data => 'some data', });
Retrieve all events in the DB.
my @Events = $EventLog->get_events();
Chris Hughes <chrisjh@cpan.org>
This software is copyright (c) 2015 by Chris Hughes.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install App::OverWatch, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::OverWatch
CPAN shell
perl -MCPAN -e shell install App::OverWatch
For more information on module installation, please visit the detailed CPAN module installation guide.