One thing I've found handy about log4net is that it uses the same format as log4j. So i can output logging from the .net to a socket and pick it with chainsaw just the same as I do for log4j output. Something to be said for log4j compatibility, but its not such a big deal either.
Rupert On 03/05/07, Martin Ritchie <[EMAIL PROTECTED]> wrote:
On 03/05/07, Alan Conway <[EMAIL PROTECTED]> wrote: > http://pantheios.sourceforge.net/ looks interesting. Doesn't have a wide > selection of back-ends but appears to have a smarter front-end than > most, lazy formatting of arguments giving a low overhead for disabled > log statements without needing to wrap them in if (willBeLogged() {..} > > Anyone have experience/opinions? > > Alan. Speaking from the java side and the efficiency of of log4j it often happens that we forget to put the if(isLoggingLevelEnabled()) call in to guard complicated log statements where a lot of string concatenation or processing is done before the call. While it would be nice to have a similar logging mechanism and process across the implementations if pantheios has a smarter front-end that avoids this evaluation when logging is disabled then perhaps this is a good approach. just my 2c -- Martin Ritchie