You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@griffin.apache.org by "Johnnie (JIRA)" <ji...@apache.org> on 2019/07/11 21:37:00 UTC
[jira] [Created] (GRIFFIN-267) Loggable trait use Scala call by
name for lazy evaluation
Johnnie created GRIFFIN-267:
-------------------------------
Summary: 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
For trait Loggable, it would be great to evaluate the msg if really needed.
otherwise, it might have a potential issue.
For example, is 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)