Forum: Ruby Re: ruby eventlog monitor for windows

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Peña, Botp (Guest)
on 2006-04-26 05:04
(Received via mailing list)
Berger, Daniel [mailto:removed_email_address@domain.invalid] of win32 team wrote 
Wednesday, April 26, 2006 1:45 AM:

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


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.