RE: Logging (Was: [Htmlparser-developer] version 1.3)
Brought to you by:
derrickoswald
From: Craig R. <cr...@qu...> - 2002-12-17 07:14:20
|
Take a look at the logging wrapper provided by Jakarta. It provides a thin bridge between different logging APIs. http://jakarta.apache.org/commons/logging.html Craig > > Great to have a discussion going! I'd like to branch off all the issues > into > seperate threads so that we could deal with them seperately. > > > > Logging > > > The use of a feedback object is adequate, but JDK version 1.4 has a > > > rich API, java.util.logging, that we might want to emulate (presuming > > > we don't want to force JDK 1.4 usage). > > > > I would be against forcing JDK 1.4 usage. I would recommend log4j > > http://jakarta.apache.org/log4j/docs/index.html > > > > Using either JDK 1.4 or log4j ties you down to a specific logging API. The > latter will add to the weight of the parser. (I was actually considering > log4j sometime back, but Claude Duguay convinced me otherwise) > > If however, more logging support is needed, I guess it could be added > using > a facade (or adapter) with JDK 1.4 (or log4j), externally. This is of > course open to discussion. > > Regards, > Somik > |