[Mono-list] Nothing happens with mono-service and EventLog.WriteEntry

Jonathan Pryor jonpryor at vt.edu
Fri Feb 16 06:37:10 EST 2007


On Thu, 2007-02-15 at 17:39 +0100, Gert Driesen wrote:
> I'll checkout the Mono.Unix API for Syslog and perhaps add support for using
> it as a backend for event log.

You won't be able to use Mono.Unix directly from EventLog, since we
don't want System.dll to depend on Mono.Posix.dll.  It should be fairly
easy to create a System.Diagnostics.SyslogEventLog type which copies the
Mono.Unix syslog-related code.

The one downside is that Mono.Unix depends on MonoPosixHelper for
converting values, though System.dll already depends on MonoPosixHelper
for System.IO.Compression.DeflateStream, so this really isn't a problem.

 - Jon




More information about the Mono-list mailing list