Log::Dispatch::Win32EventLog - Class for logging to the Win32 Eventlog
use Log::Dispatch::Win32EventLog; my $log = Log::Dispatch::Win32EventLog->new( name => 'myname' min_level => 'info', source => 'My App' ); $log->log(level => 'emergency', messsage => 'something BAD happened');
Log::Dispatch::Win32EventLog is a subclass of Log::Dispatch::Output, which inserts logging output into the windows event registry.
$log = Log::Dispatch::Win32EventLog->new(%params);
This method takes a hash of parameters. The following options are valid:
Same as various Log::Dispatch::* classes.
This will be the source that the event is recorded from.
inherited from Log::Dispatch::Output.
Arthur Bergman <abergman@cpan.org>
Gunnar Hansson <gunnar@telefonplan.nu>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Log::Dispatch, Win32::EventLog
To install Log::Dispatch::Win32EventLog, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Log::Dispatch::Win32EventLog
CPAN shell
perl -MCPAN -e shell install Log::Dispatch::Win32EventLog
For more information on module installation, please visit the detailed CPAN module installation guide.