[ 
https://issues.apache.org/jira/browse/SHINDIG-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12656527#action_12656527
 ] 

Brian McCallister commented on SHINDIG-259:
-------------------------------------------

If we do go down the path of our own logging interface (whether we should 
reinvent this wheel or not is a different question) I highly recommend an API 
which looks like:


log.debug(Exception, FormatString, ObjectsToFormatIntoFormatString...)

It saves the ever present if (log.isDebugEnabled()) { 
log.debug(String.format(...)); }

> Improve logging calls
> ---------------------
>
>                 Key: SHINDIG-259
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-259
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Common Components (Java), Gadget Rendering Server 
> (Java), RESTful API (Java)
>            Reporter: Vincent Siveton
>            Priority: Minor
>
> Just for the track, see thread on shindig-dev@
> http://markmail.org/message/6ihyisqsrqp4nnt5

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to