
http://bugzilla.slf4j.org/show_bug.cgi?id=306 Priority: P5 Bug ID: 306 Assignee: slf4j-dev@qos.ch Summary: Add default logger method Severity: enhancement Classification: Unclassified OS: Mac OS X 10.3 Reporter: ggerard@gmail.com Hardware: PC Status: NEW Version: 1.7.x Component: slf4j-ext Product: SLF4J This is a handy shortcut to get a logger for the containing class without having to worry about classname when moving / refactoring a class or having boilerplate classes that can be cloned. public static XLogger getXLogger() { return getXLogger(Thread.currentThread().getStackTrace()[2].getClassName()); } -- You are receiving this mail because: You are the assignee for the bug.