[ANN] win32-eventlog 0.1.0

B

Berger, Daniel

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 Win32

handle = EventLog.open("Application")

handle.total_records # e.g. 916
handle.oldest_record_number # e.g. 1

# Read through every entry, inspecting each struct in turn
handle.read{ |elr|
p elr
puts
}

# Backup the Application log
handle.backup("C:\\Backups\\Application.bak")

# Clear the Application log, after backing it up
handle.clear("C:\\Backups\\Application.old")

handle.close

There's no write ability at the moment, but I should have that in the
next release. See the "Future Plans" section of the documentation for
more details.

Feedback welcome. Enjoy!

Regards,

Dan
 
J

James Britt

Hi all,

I'm happy to announce the first release of win32-eventlog. This is a
Ruby interface to the Win32 EventLog.
...


There's no write ability at the moment, but I should have that in the
next release. See the "Future Plans" section of the documentation for
more details.


Feedback welcome. Enjoy!

Where is the home page or download site?

Thanks,


James
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top