[Mono-list] Writing to Linux Logs

Shane G. Brodie sgbrodie@mts.net
Tue, 08 Mar 2005 21:55:03 -0600

I have not yet been able to locate a namespace which provides facilities
for writing to the Linux system logs such as would be accomplished using
the syslogd daemon. 

Is there a native Mono way to do this, or is there another way to do
this (IE:  Can you link in the C/C++ functions to do so???  If so, is
there any documentation anywhere on how this is handled?)

The following include and prototypes seem to be the C way to do what I
want to do, but I've not been able to find any examples of doing this
from Mono ....

#include <syslog.h>
void openlog( char *ident, int option, int facility)
void syslog ( int priority, char *format, ...)
void closelog( void )


Shane Brodie

Newbie Linux Developer
Veteran Windows Developer