logStopwatch method
After a task has completed, log time to completion.
Implementation
void logStopwatch(String task, Stopwatch stopwatch) {
final elapsedSeconds = stopwatchToSeconds(stopwatch);
logger.info('$task, took $elapsedSeconds');
}
After a task has completed, log time to completion.
void logStopwatch(String task, Stopwatch stopwatch) {
final elapsedSeconds = stopwatchToSeconds(stopwatch);
logger.info('$task, took $elapsedSeconds');
}