startTimer function

Timer startTimer(
  1. String message, {
  2. Level level = Level.debug,
})

Starts a timer and logs a message. Returns a Timer object.

Call Timer.stop on the returned object to stop tracing.

Implementation

Timer startTimer(String message, {Level level = Level.debug}) =>
    _logger.startTimer(message, level: level);