Index: lib/src/log.dart |
diff --git a/lib/src/log.dart b/lib/src/log.dart |
index 0b14ab30eb0b2050557c973e18d2ddb75903856c..13527c06f86bc88248b7ddd5b65955e5f21434b5 100644 |
--- a/lib/src/log.dart |
+++ b/lib/src/log.dart |
@@ -111,6 +111,16 @@ class Verbosity { |
Level.FINE: null |
}); |
+ /// Shows only errors. |
+ static const ERROR = const Verbosity._("error", const { |
+ Level.ERROR: _logToStderr, |
+ Level.WARNING: null, |
+ Level.MESSAGE: null, |
+ Level.IO: null, |
+ Level.SOLVER: null, |
+ Level.FINE: null |
+ }); |
+ |
/// Shows only errors and warnings. |
static const WARNING = const Verbosity._("warning", const { |
Level.ERROR: _logToStderr, |