At 09:35 PM 8/10/2005, Curt Arnold wrote:
Without a mechanism to get at the LoggerFactory instance, there is no
mechanism to interrogate the factory for capabilities. So what I was
suggesting is that there are static methods on some class to get a
(likely singleton) instance of a factory implementation that can be
used to get instances of Logger. You could still have the short-cut
methods to go directly from the static method to get an instance of
Logger, but having the intermediate factory instance is beneficial.
If I understand correctly, you are suggesting the addition of a
new method. For example,
package org.slf4j;
public LoggerFactory {
// keep existing methods
// new method:
static public ILoggerFactory getILoggerFactory() {
....
}
}
Correct?
--
Ceki Gülcü
The complete log4j manual: http://www.qos.ch/log4j/
_______________________________________________
dev mailing list
[email protected]
http://slf4j.org/mailman/listinfo/dev