activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Deribas <thisaddressisnotm...@td.selfip.net>
Subject Re: Using ActiveMQ from .NET compact framework
Date Thu, 12 Oct 2006 10:55:37 GMT
Hello,

Rob Lugt said the following on 12.10.2006 12:19:

> I think this leaves us with two possible options:-
> 1) use Log4Net
> 2) create a static Trace class within the ActiveMQ namespace and pass all
> trace calls through this.  This could then be a central place where trace
> events are dispatched to the desired logging system.
> 
> (1) has the advantage that log4net is good and we aren't re-inventing any
> wheels, but has the disadvantage that we are creating a build dependency on
> Log4Net - which almost certainly isn't going to be currently used by all the
> projects targeting AMQ

Another advantage here is that Log4Net is sister apache incubation
project ;-)

> (2) has the advantage that we are creating no dependencies, but we are
> re-inventing a Trace interface.

It would be nice to have possibility to use log4net from this static
Trace class. Something like:

#if LOG4NET
  // use log4net for output
#else
  // use internal tracing routines
#endif

-- 
Oleg


Mime
View raw message