I don't understand why Logger interface doesn't extend org.apache.commons.logging.Log interface ?
I think that it's more correctly to use Log interface, wich is supported by all jakarta. In this case we will be able to work with log system in the following way:
class ClassThatNotDependOnAvalon{ protected Log firstLogger; protected Log secondLogger;
}
class AvalonComponent extends ClassThatNotDependOnAvalon implements LogEnabled{
void enableLogging(Logger avalonLogger){
firstLogger = avalonLogger.getChildLogger("first");
secondLogger = avalonLogger.getChildLogger("first");
}
}
Or I missed something?
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]