endTrace method
void
endTrace()
Ends timing of an execution block, calculates elapsed time and records the associated trace.
Implementation
void endTrace() {
if (_tracer != null) {
var elapsed = DateTime.now().microsecond - _start;
_tracer!.trace(_correlationId, _component, _operation, elapsed);
}
}