[
https://issues.apache.org/jira/browse/GRIFFIN-267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
William Guo resolved GRIFFIN-267.
---------------------------------
Resolution: Fixed
Fix Version/s: 0.6.0
Issue resolved by pull request 510
[https://github.com/apache/griffin/pull/510]
> Loggable trait use Scala call by name for lazy evaluation
> ----------------------------------------------------------
>
> Key: GRIFFIN-267
> URL: https://issues.apache.org/jira/browse/GRIFFIN-267
> Project: Griffin
> Issue Type: Improvement
> Reporter: Johnnie
> Priority: Major
> Fix For: 0.6.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> For trait Loggable, it would be great to evaluate the msg if really needed.
> otherwise, it might have a potential issue.
> For example, if msg is 1/0, it will cause Exception even we don't call the
> log method.
> Â
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)