|
This class is responsible for instantiating the correct LogChute
The approach is :
-
First try to see if the user is passing in a living object
that is a LogChute, allowing the app to give its living
custom loggers.
-
Next, run through the (possible) list of classes specified
specified as loggers, taking the first one that appears to
work. This is how we support finding logkit, log4j or
jdk logging, whichever is in the classpath and found first,
as all three are listed as defaults.
-
Finally, we turn to the System.err stream and print log messages
to it if nothing else works.
author: Jason van Zyl author: Jon S. Stevens author: Geir Magnusson Jr. author: Nathan Bubna version: $Id: LogManager.java 490011 2006-12-24 12:19:09Z henning $ |