isEnabled method
Whether a severity line would be emitted right now.
Guard hot and render-path call sites with this so a release build pays nothing for a message it will not print:
if (_log.isEnabled(DigiaLogSeverity.debug)) {
_log.d('Nodes resolved (count=${nodes.length}, '
'ids=${nodes.map(describe)})');
}
Implementation
bool isEnabled(DigiaLogSeverity severity) => isSeverityEnabled(severity);