stop abstract method

void stop(
  1. String message, {
  2. Level? level,
  3. Iterable<Field>? fields,
})

Stops tracing; immediately emits a record with a message and measured time.

If stop is called more than once a TracerStoppedError will be raised.

Implementation

void stop(String message, {Level? level, Iterable<Field>? fields});