logger use milliseconds instead of seconds for reporting elapsed time (#6487)

* logger use milliseconds instead of seconds for reporting elapsed time (#5400)

* Update authors (#5400)

* Remove unnecessary comment
This commit is contained in:
Wyatt Arent
2016-10-23 09:54:08 -07:00
committed by Adam Barth
parent 0ac9fc638d
commit 0838ef7d0b
2 changed files with 2 additions and 2 deletions

View File

@@ -6,3 +6,4 @@
Google Inc.
Jim Simon <jim.j.simon@gmail.com>
Lex Berezhny <lex@damoti.com>
Wyatt Arent <hello@wyatt.ninja>

View File

@@ -250,8 +250,7 @@ class _AnsiStatus extends Status {
live = false;
if (showElapsedTime) {
double seconds = stopwatch.elapsedMilliseconds / 1000.0;
print('\b\b\b\b${seconds.toStringAsFixed(1)}s');
print('\b\b\b\b${stopwatch.elapsedMilliseconds.toString()}ms');
} else {
print('\b ');
}