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

ASF GitHub Bot commented on CAMEL-3759:
---------------------------------------

Github user YoshikiHigo closed the pull request at:

    https://github.com/apache/camel/pull/1134


> After switching to slf4j, we can get rid of the 'isTraceEnabled', 
> 'isDebugEnabled' and 'isInfoEnabled' statements
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3759
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3759
>             Project: Camel
>          Issue Type: Improvement
>    Affects Versions: 2.6.0
>            Reporter: Christian Müller
>            Assignee: Christian Müller
>             Fix For: 2.8.0
>
>
> we can get rid of the 'isTraceEnabled', 'isDebugEnabled' and 'isInfoEnabled' 
> statements with slf4j and use
> {code}
> logger.debug("Temperature set to {}. Old temperature was {}.", t, oldT);
> {code}
> instead
> christian-muellers-macbook-pro:camel cmueller$ egrep -r 
> 'isTraceEnabled|isDebugEnabled|isInfoEnabled]' . | wc -l
>     1485



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to