agile-lab-dev / agile-lab-dev/darwin

Use a "guarded" logger in trait Logging

未关闭
#41 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
contest good first issue
主要语言
Scala
星标
36
派生
10
PR 合并指标
30 天内没有已合并 PR

描述

As of 7d76fb3a421b1edbe3235a2a525ca1b56fae0065 the logger used in the logger trait is not guarded, therefore it always generates strings eagerly without checking if they will be emitted or not. This may incur in runtime penalties if some log message creation is onerous.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。