tersesystems/blindsight

`log.isXXXEnabled()` causes allocation overhead

Closed this issue · 1 comments

log.isDebugEnabled() causes a lot of unnecessary allocations, going through

    override def predicate(level: Level): CorePredicate =
      new CorePredicate.Impl(level, this)

in CoreLogger.Abstract

Arguably, this operation should be as lightweight as possible.