At 11:18 1/5/01 +0100, James Strachan wrote:
>I just had a quick look at the JSR and it looks like the package is going to
>be java.util.logging (rather than javax.logging) so that rules out using the
>JSR until you're sure all your users have moved to Merlin JDK 1.4 :-(
yep - that is the common stratgey with APIs now ;)
>So how about we add a simple, lightweight facade component for logging to
>jakarta-commons?
>
>Somewhere between 1 and 4 classes would probably do. Nothing fancy or too
>clever, just an easy to use, abstract Facade which is fairly similar to a
>subset of the JSR functionality. Probably include a simple simple
>implementation that just logs to a file or System.out that is used by
>default if no other implementation is configured. So simple, small and
>lightweight. Ideal for any project no matter how small (assuming some
>logging facility is required ;-)
Essentially you just described logkit. It started as a small lightweight
fascade ... after a few months use it was no use in linking to backend as
you realize that the fascade contains enough weight that it is free
standing. A few months usage will see the fascade looking similar to logkit
is my estimation ;)
Cheers,
Pete
*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof." |
| - John Kenneth Galbraith |
*-----------------------------------------------------*