[Mono-devel-list] System.Diagnostic.EventLog

Jonathan Stowe jns at gellyfish.com
Fri Oct 1 07:05:08 EDT 2004


On Fri, 2004-10-01 at 00:50, Jonathan Pryor wrote:
> On Thu, 2004-09-30 at 09:09, Robert Brown wrote:
> > Does anyone what the status of the System.Diagnostic.EventLog class is?  I
> > looked on the Mono project website (www.go-mono.com) but can't find the
> > Class Status page.
> 
> There's *an* implementation...which pretty much does nothing.
> 
> So you can (probably) compile against it, but it won't do anything.
> 

Is this something that is planned to be implemented, and if so is anyone
working on it? For writing to the log would it be preferable to P/Invoke
the syslog(3) interface (and the analogous API for the EventLog on
windows) or reimplement from scratch? As for getting events can it be
relied upon that the syslogd will be able to write to a fifo instead of
a plain file (of course to use this the user would have to alter
syslog.conf) then waiting for an event could spawn a thread that reads
from the fifo.

Of course I guess the biggest problem will be mapping the syslog
facilities and priorities to the stuff that you get in Windows.

Not that I am promising to write anything :-)

/J\
-- 

This e-mail is sponsored by http://www.integration-house.com/




More information about the Mono-devel-list mailing list