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/12 03:57:00 UTC
[jira] [Updated] (GRIFFIN-267) Loggable trait use Scala call by
name for lazy evaluation
[ https://issues.apache.org/jira/browse/GRIFFIN-267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Johnnie updated GRIFFIN-267:
----------------------------
Description:
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.
was:
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.
> 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
> Time Spent: 10m
> 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)