Take a look at how C# WebServer handles logging (ILogWriter.cs in 
http://www.codeplex.com/webserver/SourceControl/changeset/view/18488). A simple 
interface is defined for logging, and default console and null loggers are 
provided. Developers using the library in their own applications can implement 
the class and hook it up to log4net, .NET trace logging, etc. without MXP.dll 
having to drag any dependencies around. This is the best balance between ease 
of use and clean separation of dependencies that I've found for C# logging so 
far.

John

>-----Original Message-----
>From: [email protected] [mailto:opensim-dev-
>[email protected]] On Behalf Of Tommi Laukkanen
>Sent: Monday, February 23, 2009 11:21 AM
>To: [email protected]
>Subject: Re: [Opensim-dev] MXPClient?
>
>I added prebuild support to MXP library so you can build MXP.dll with
>mono and nant now. I also removed Action<> class dependency. I will take
>a look at log4net support next.
>
> 
_______________________________________________
Opensim-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-dev

Reply via email to