OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library css; | 5 library css; |
6 | 6 |
7 import 'dart:io'; | 7 import 'dart:io'; |
8 | 8 |
9 import 'package:path/path.dart' as path; | 9 import 'package:path/path.dart' as path; |
10 import 'package:source_span/source_span.dart'; | 10 import 'package:source_span/source_span.dart'; |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 buf.write(message); | 74 buf.write(message); |
75 for (int i = message.length; i < 60; i++) buf.write(' '); | 75 for (int i = message.length; i < 60; i++) buf.write(' '); |
76 buf.write(' -- '); | 76 buf.write(' -- '); |
77 if (duration < 10) buf.write(' '); | 77 if (duration < 10) buf.write(' '); |
78 if (duration < 100) buf.write(' '); | 78 if (duration < 100) buf.write(' '); |
79 buf | 79 buf |
80 ..write(duration) | 80 ..write(duration) |
81 ..write(' ms'); | 81 ..write(' ms'); |
82 print(buf.toString()); | 82 print(buf.toString()); |
83 } | 83 } |
OLD | NEW |