http://bugzilla.slf4j.org/show_bug.cgi?id=306

          Priority: P5
            Bug ID: 306
          Assignee: [email protected]
           Summary: Add default logger method
          Severity: enhancement
    Classification: Unclassified
                OS: Mac OS X 10.3
          Reporter: [email protected]
          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.
_______________________________________________
slf4j-dev mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/slf4j-dev

Reply via email to