LogScoping extension

Scope management: progress operations and manual scope control.

on

Methods

progress<T>(String label, FutureOr<T> runner(), {Map<String, Object?>? metadata, bool isSuccess(T result)?}) Future<T>

Available on Log, provided by the LogScoping extension

Runs runner inside a new scope. The scope is automatically opened before the runner and closed after it completes (or fails).