Chromium Code Reviews| Index: pkg/logging/lib/logging.dart |
| =================================================================== |
| --- pkg/logging/lib/logging.dart (revision 27711) |
| +++ pkg/logging/lib/logging.dart (working copy) |
| @@ -310,4 +310,6 @@ |
| LogRecord(this.level, this.message, this.loggerName, [this.exception]) |
| : time = new DateTime.now(), |
| sequenceNumber = LogRecord._nextNumber++; |
| + |
| + String toString() => '[${level.name}] $loggerName $message'; |
|
devoncarew
2013/09/21 05:08:08
I actually prefer a slightly different format:
Siggi Cherem (dart-lang)
2013/10/05 01:09:38
I'm ok with either actually. In the current form,
devoncarew
2013/10/07 18:06:27
OK, changed to add the ':'.
|
| } |