You missed what I'm trying to do. I'm defining a static logger such as
this:
public class MyClass {
private static final Logger myLogger = Logger.getLogger(MyClass.class);
}
But what I would like to do is this
public class MyClass {
private static final Logger myLogger = Logger.getLogger();
}
I've liked the log4j Logger except for two things. The first is that I have
to pass my class name to the logger when I get it, for example:
private static Logger myLogger = Logger.getLogger(MyClass.class);
This is fine but it is prone to cut and paste errors. A better solution is
to add the fol