| Index: tools/testing/dart/utils.dart
|
| diff --git a/tools/testing/dart/utils.dart b/tools/testing/dart/utils.dart
|
| index 4ab769cacc46f01b1ff387ade219804576cba9dc..4c8170f9125ab308b7c7fff9ba5fab3b96a7381b 100644
|
| --- a/tools/testing/dart/utils.dart
|
| +++ b/tools/testing/dart/utils.dart
|
| @@ -40,17 +40,17 @@ class DebugLogger {
|
| }
|
| static void info(String msg, [error]) {
|
| msg = _formatErrorMessage(msg, error);
|
| - _print("Info: $msg");
|
| + _print("$_datetime Info: $msg");
|
| }
|
|
|
| static void warning(String msg, [error]) {
|
| msg = _formatErrorMessage(msg, error);
|
| - _print("Warning: $msg");
|
| + _print("$_datetime Warning: $msg");
|
| }
|
|
|
| static void error(String msg, [error]) {
|
| msg = _formatErrorMessage(msg, error);
|
| - _print("Error: $msg");
|
| + _print("$_datetime Error: $msg");
|
| }
|
|
|
| static void _print(String msg) {
|
| @@ -60,6 +60,8 @@ class DebugLogger {
|
| print(msg);
|
| }
|
| }
|
| +
|
| + static String get _datetime => "${new DateTime.now()}";
|
| }
|
|
|
| List<int> encodeUtf8(String string) {
|
|
|