defineScope static method

Disposable? Function(Logger) defineScope(
  1. String formatString
)

Defines a log scope with no parameters.

Implementation

static Disposable? Function(Logger) defineScope(String formatString) =>
    (logger) => logger.beginScope(formatString);