Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Unified Diff: pkg/logging/lib/logging.dart

Issue 12316126: pkg/logging: adding Type information (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/logging/lib/logging.dart
diff --git a/pkg/logging/lib/logging.dart b/pkg/logging/lib/logging.dart
index 935b3aeffec2b16d705fc10da992e149f9449e03..89682fa5da3ee5b899e9233eaf4052ed857267fa 100644
--- a/pkg/logging/lib/logging.dart
+++ b/pkg/logging/lib/logging.dart
@@ -91,7 +91,7 @@ class Logger {
}
/** Override the level for this particular [Logger] and its children. */
- set level(value) {
+ set level(Level value) {
if (hierarchicalLoggingEnabled && parent != null) {
_level = value;
} else {
@@ -201,7 +201,7 @@ class Logger {
}
/** Top-level root [Logger]. */
- static get root => new Logger('');
+ static Logger get root => new Logger('');
/** All [Logger]s in the system. */
static Map<String, Logger> _loggers;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698