Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1922

forge should inject Logger.

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Won't Do
    • Icon: Optional Optional
    • None
    • None
    • None
    • None

      From:

      private static Logger log = Logger.getLogger(AddonTestFacet.class.toString());
      

      To:

      @Inject
      private Logger log
      

      Produce:

          @Produces  
          public Logger produceLogger(InjectionPoint injectionPoint) {  
              return Logger.getLogger(injectionPoint.getMember().getDeclaringClass().getName());  
          } 
      

            Unassigned Unassigned
            danielcunha Daniel Cunha (soro) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: