From: Bastiaan B. <bas...@li...> - 2002-06-06 22:08:24
|
On Wed, 2002-06-05 at 05:56, charlie wrote: > Hi, > > Just thought I'd throw my $0.02 regarding threads. If seen pthreads > mentioned a couple of times in the archives, but no mention of using > pthreads with win32. There is a LGPL version of pthreads for win32 which is > quite good... http://sources.redhat.com/pthreads-win32/. I've been using it > extensively and it works quite well... Well, in that case I would like to invite you to write pthreads-win32 support for log4cpp ;-) Actually since it is crossplatform I presume, that would mean pthreads support for *nix and other platforms as well. Hmm, very nice. > > Now on to my big question...log4j includes level, appender and layout > "inheritance". log4cpp doesn't seem to support these features. Is this on > purpose? I would think this is a handy feature. > Maybe I don't understand your question, but I think you are saying that in log4j levels, appenders and layouts are inherited in the sense that a LoggingEvent sent to child Category (Logger) will be processed by the appender and layout of the parent Category. Well, log4cpp does this too, in pretty much the same way as log4j. Just look at the examples in the tests subdirectory. Cheers, Bastiaan > VR, Charlie > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > Log4cpp-devel mailing list > Log...@li... > https://lists.sourceforge.net/lists/listinfo/log4cpp-devel |