mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitriy Lyubimov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAHOUT-1716) Scala logging style
Date Tue, 02 Jun 2015 23:03:49 GMT
Dmitriy Lyubimov created MAHOUT-1716:
----------------------------------------

             Summary: 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.



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

Mime
View raw message