This project is read-only.

Log Writing

Mar 2, 2009 at 10:39 AM

Is there any sample on log writing using HttpServer?
It's not clear (for me) how to use ILogWriter...

Mar 2, 2009 at 11:01 AM
Depends on what you want to do.

To activate logging, simply pass a ILogWriter implementation to the HttpServer or HttpListener.

Check the ConsoleLogWriter for an example.

We have not implemented a file logger, since most users what to use their favorite logging system as log4net or nlog.