[Browserlaunch2-development] Logging
Brought to you by:
jchapman0
From: Thomas A. <tho...@ch...> - 2005-02-01 23:45:39
|
I've released a tiny logging package called WrapLog at <http://wraplog.sourceforge.net/>. We should be able to integrate this into BrowserLauncher2. The basic idea is that the library uses a generic logger interface which the client application developer can easily overwrite by inserting his own Logger class in the classpath. WrapLog already comes with wrappers for Log4j and java.util.logging, but also includes a simple logger that writes to System.out without the need for any libraries. I decided to put it under a BSD-style license because developers probably will like to customize the code for their project. (I didn't bother to come up with a nice and flexible design; this is supposed to be lean and mean, there are already powerful but bulky logging packages around.) That way, we can add the 2 relevant classes from WrapLog to the BrowserLauncher2 CVS, and include them in the BrowserLauncher2.jar. So client application developers need to add only one JAR to their classpath. I intend to provide a logger that logs warnings and errors toSystem.out/err. If client application developers don't like that, they can download the WrapLog.jar and create their own logger. Kind regards, Thomas. |