deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerhard Petracek (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DELTASPIKE-122) producer for logger
Date Mon, 19 Mar 2012 11:05:38 GMT

    [ https://issues.apache.org/jira/browse/DELTASPIKE-122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232557#comment-13232557
] 

Gerhard Petracek commented on DELTASPIKE-122:
---------------------------------------------

in case of codi it isn't an injection for static fields.
we just have DELTASPIKE-59 and it isn't about logger injection.
it needs to be discussed on the list -> please start a discussion thread.
                
> producer for logger
> -------------------
>
>                 Key: DELTASPIKE-122
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-122
>             Project: DeltaSpike
>          Issue Type: New Feature
>            Reporter: Romain Manni-Bucau
>            Assignee: Gerhard Petracek
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message