Uploaded image for project: 'DeltaSpike'
  1. DeltaSpike
  2. DELTASPIKE-122

producer for logger

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Later
    • None
    • 0.4
    • None
    • None

    Description

      Logger is generally boilerplate code:

      private static final Logger LOGGER = LoggerFactory.getLogger(Foo.class);

      it could be very nice to get the logger injected by cdi:

      @Inject private Logger logger;

      Then it could be enhanced providing qualifiers for several log implementations (slf4j, log4j, commons-logging...)

      There is such a feature in weld (weld-clogger) and codi.

      Attachments

        Activity

          People

            gpetracek Gerhard Petracek
            romain.manni-bucau Romain Manni-Bucau
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: