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

Unified Diff: pkg/analyzer/lib/src/analyzer_impl.dart

Issue 196223004: New verbose flag for the dart command line analyzer (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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
« pkg/analyzer/lib/options.dart ('K') | « pkg/analyzer/lib/options.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/analyzer_impl.dart
diff --git a/pkg/analyzer/lib/src/analyzer_impl.dart b/pkg/analyzer/lib/src/analyzer_impl.dart
index a107ef293ff041af7e09b9dba859a09f9d3aa9ef..f50d41266e5d4aafa1832b5ecd68523f1d98dc8e 100644
--- a/pkg/analyzer/lib/src/analyzer_impl.dart
+++ b/pkg/analyzer/lib/src/analyzer_impl.dart
@@ -159,7 +159,9 @@ class AnalyzerImpl {
context = AnalysisEngine.instance.createAnalysisContext();
context.sourceFactory = sourceFactory;
// Uncomment the following to have errors reported on stdout and stderr
-// AnalysisEngine.instance.logger = new StdLogger();
+ if (options.verbose) {
+ AnalysisEngine.instance.logger = new StdLogger();
+ }
// set options for context
AnalysisOptionsImpl contextOptions = new AnalysisOptionsImpl();
« pkg/analyzer/lib/options.dart ('K') | « pkg/analyzer/lib/options.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698