Forum: Ruby Re: ruby eventlog monitor for windows

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
6087a044557d6b59ab52e7dd20f94da8?d=identicon&s=25 Peña, Botp (Guest)
on 2006-04-26 03:04
(Received via mailing list)
Berger, Daniel [mailto:Daniel.Berger@qwest.com] of win32 team wrote last
Wednesday, April 26, 2006 1:45 AM:

# require 'win32/eventlog'
# include Win32
#
# # Tail the event log
# EventLog.open('Application').tail{ |log|
#    p log
# }
#
# # Read an event log
# EventLog.read('Application'){ |log|
#    p log
# }

Daniel,

That's it and it's much better and powerful than i expected! Amazingly
powerful and simple! Thank you and thanks to the win32 team, too.

(i'm sorry i was too lazy to lookup the other files. I only read the
readme and tutorial.txt and then stopped. i did not read evenlog.txt and
the other .rb samples wc were very complete)

thank you and kind regards -botp

# Regards,
# Dan
This topic is locked and can not be replied to.