commit | 8fc02216b5859414e62e22e235b91a9b167db7e4 | [log] [tgz] |
---|---|---|
author | sigmundch <sigmund@google.com> | Wed Jul 01 10:07:38 2015 -0700 |
committer | sigmundch <sigmund@google.com> | Wed Jul 01 10:07:38 2015 -0700 |
tree | 7e21ea292c8547bc58d78be4551de62974b5b6a2 | |
parent | 8a8a3d34f7d02e28919940ffc6a8e8e21b5023b0 [diff] | |
parent | 1bc0c8a2b72d3fce06d835f515f3108a74230f3c [diff] |
Merge pull request #24 from ochafik/patch-1 Improve Logger.root (make it a final field instead of a getter)
diff --git a/lib/logging.dart b/lib/logging.dart index f108ed3..c8417fc 100644 --- a/lib/logging.dart +++ b/lib/logging.dart
@@ -229,7 +229,7 @@ } /** Top-level root [Logger]. */ - static Logger get root => new Logger(''); + static final Logger root = new Logger(''); /** All [Logger]s in the system. */ static final Map<String, Logger> _loggers = <String, Logger>{};