Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-422

Special handling for slf4j LoggerFactory.getLogger(Class)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      slf4j is popular. Very popular. We could save developers countless hours if the auto-complete for LoggerFactory.getLogger(Class) would insert the enclosing class name instead of "clazz" as it currently does.

      For example, given:

      public class ThisIsFun
      {
        private final LoggerFactory log = LoggerFactory.getLogger(***);
      }

      We would auto-complete as:

      public class ThisIsFun
      {
        private final LoggerFactory log = LoggerFactory.getLogger(ThisIsFun.class);
      }

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            cowwoc Gili
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: