Closed TrackerSB closed 6 years ago
When moving snippets from one class to another class (maybe a new one) also the calls to Logger.getLogger(...) are copied. So one have to recognize to change the classname used in the call to the classname of the class the snippet was moved to. When this issue is getting closed, #120 may also be closed. References: https://stackoverflow.com/questions/6653520/why-do-we-declare-loggers-static-final https://www.slf4j.org/faq.html#declared_static https://wiki.apache.org/commons/Logging/FrequentlyAskedQuestions
Further when calling Logger.getLogger(SomeClass.class.getName()) within a constructor an overridable method is called - namely Class#getName().
Logger.getLogger(SomeClass.class.getName())
Class#getName()
When moving snippets from one class to another class (maybe a new one) also the calls to Logger.getLogger(...) are copied. So one have to recognize to change the classname used in the call to the classname of the class the snippet was moved to. When this issue is getting closed, #120 may also be closed. References: https://stackoverflow.com/questions/6653520/why-do-we-declare-loggers-static-final https://www.slf4j.org/faq.html#declared_static https://wiki.apache.org/commons/Logging/FrequentlyAskedQuestions