NAME Log::Dispatch::Win32EventLog - Class for logging to the Windows NT Event Log REQUIREMENTS The following modules are required: Log::Dispatch Params::Validate Win32::EventLog Installation Installation is pretty standard: perl Makefile.PL nmake nmake test nmake install If you have Module::Build installed, you can use the following: perl Build.PL perl Build perl Build test perl Build install Note that the tests for this module will post to the event log! SYNOPSIS 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'); DESCRIPTION Log::Dispatch::Win32EventLog is a subclass of Log::Dispatch::Output, which inserts logging output into the windows event registry. See the module documentation for more details. REVISION HISTORY Changes since v0.02: 0.11 Fri Aug 6 2004 - corrected handling of unregistered sources 0.10 Wed Aug 4 2004 - build uses Test::Warn - added test for invalid log registration - renamed test files - added tests for registration and Log4perl (if present) - allows registration of the source to a specific log - tests verify that events were written to logs - tests use Test::More - event log is opened to $Source rather than "Application" - checks for proper perl version - handle is now closed when class is destroyed - fixed warnings related to Perl 5.8.x [cpan #7020] - check for invalid characters in source - reorganized and updated POD - added Build.PL and META.yml to distribution - corrected prereqs in Build.PL/Makefile.PL A more detailed history can be found in the included Changes file. AUTHOR Robert Rothenberg Arthur Bergman Gunnar Hansson LICENSE This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.