nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris A. Mattmann (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (NUTCH-309) Uses commons logging Code Guards
Date Tue, 13 Feb 2007 20:27:05 GMT

     [ https://issues.apache.org/jira/browse/NUTCH-309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chris A. Mattmann reassigned NUTCH-309:
---------------------------------------

    Assignee: Chris A. Mattmann  (was: Jerome Charron)

> Uses commons logging Code Guards
> --------------------------------
>
>                 Key: NUTCH-309
>                 URL: https://issues.apache.org/jira/browse/NUTCH-309
>             Project: Nutch
>          Issue Type: Improvement
>    Affects Versions: 0.8
>            Reporter: Jerome Charron
>         Assigned To: Chris A. Mattmann
>            Priority: Minor
>             Fix For: 0.9.0
>
>
> "Code guards are typically used to guard code that only needs to execute in support of
logging, that otherwise introduces undesirable runtime overhead in the general case (logging
disabled). Examples are multiple parameters, or expressions (e.g. string + " more") for parameters.
Use the guard methods of the form log.is<Priority>() to verify that logging should be
performed, before incurring the overhead of the logging method call. Yes, the logging methods
will perform the same check, but only after resolving parameters."
> (description extracted from http://jakarta.apache.org/commons/logging/guide.html#Code_Guards)

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


Mime
View raw message