forked from firka/flutter
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:
1
AUTHORS
1
AUTHORS
@@ -6,3 +6,4 @@
|
||||
Google Inc.
|
||||
Jim Simon <jim.j.simon@gmail.com>
|
||||
Lex Berezhny <lex@damoti.com>
|
||||
Wyatt Arent <hello@wyatt.ninja>
|
||||
|
||||
@@ -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 ');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user