LogScope constructor
LogScope(})
Creates a LogScope bound to _controller with the given name.
Implementation
LogScope(
this._controller,
this.name, {
this.tag,
Map<String, Object>? boundData,
String? traceId,
String? requestId,
String? parentSpanId,
DateTime Function()? clock,
}) : _boundData = boundData,
_traceId = traceId,
_requestId = requestId,
_parentSpanId = parentSpanId,
_clock = clock ?? DateTime.now;