Berger, Daniel [mailto:djberge@qwest.com] humbly announced:
Subject: [ANN] win32-eventlog 0.1.0
Hi all,
I’m happy to announce the first release of win32-eventlog.
This is a Ruby interface to the Win32 EventLog.Synopsis
require “win32/eventlog”
include Win32handle = EventLog.open(“Application”)
handle.total_records # e.g. 916
handle.oldest_record_number # e.g. 1Read through every entry, inspecting each struct in turn
handle.read{ |elr|
p elr
puts
}
cool. This should be in my sysadmin toolbox.
btw sir Daniel, but what do you mean by “no write at the moment”?
Regards,
Dan
kind regards,
-botp