Add a toString() to LogRecord.

R=sigmund@google.com

Review URL: https://codereview.chromium.org//24341002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/logging@28317 260f80e4-7a28-3924-810f-c04153c831b5
diff --git a/lib/logging.dart b/lib/logging.dart
index 1eae910..3376145 100644
--- a/lib/logging.dart
+++ b/lib/logging.dart
@@ -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';
 }