Uploaded image for project: 'SLF4J'
  1. SLF4J
  2. SLF4J-308

erroneous migration turns returned Logger into LoggerFactory

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.7.x
    • slf4j-migrator
    • None
    • Operating System: Windows 2000
      Platform: PC

    Description

      The migrator turns this:

      public Logger getLogger() {
      return logger;
      }

      into this:

      public LoggerFactory.getLogger() {
      return logger;
      }

      I guess the migrator must be using some naive regex---but I would have thought it would have at least prevented whitespace in matching "Logger.getLogger(".

      Attachments

        Activity

          People

            slf4j-dev SLF4J developers list
            garret@globalmentor.com Garret Wilson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: