You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Dmitriy Lyubimov (JIRA)" <ji...@apache.org> on 2015/06/08 23:00:01 UTC
[jira] [Updated] (MAHOUT-1716) Scala logging style
[ https://issues.apache.org/jira/browse/MAHOUT-1716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitriy Lyubimov updated MAHOUT-1716:
-------------------------------------
Status: Patch Available (was: Open)
> Scala logging style
> -------------------
>
> Key: MAHOUT-1716
> URL: https://issues.apache.org/jira/browse/MAHOUT-1716
> Project: Mahout
> Issue Type: Improvement
> Reporter: Dmitriy Lyubimov
> Assignee: Dmitriy Lyubimov
> Fix For: 0.10.2
>
>
> Enable concise logging e.g.
> trace(s"blha blah $variable") and
> traceDo {
> ...
> }
> note that since parameter has really late binding type (message : => String), the debug string is never computed unless the proper debug level is enabled.
> PR https://github.com/apache/mahout/pull/135
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)