I would like to debug more than just a string so would it make sense to extend the
Log4J Logger?
eg. let say, i'd like to have the following interface
Logger.debug( String, byte[], Document, Throwable)
I can certainly use a wrapper pattern (see below) but would have to make massive
changes to my code.
public class MyLogger {
public MyLogger (Logger log4jLogger) {}
}
So the alternative is, I tried to extend the Logger Class but is unsure how to get
the LoggerFactory to return MyLogger instead of Logger class.
Is there an easier way to accomplish this ?
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]