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

Unified Diff: pkg/analysis_server/lib/src/analysis_server.dart

Issue 2912573002: Log the analysis options path. (Closed)
Patch Set: Created 3 years, 7 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 | pkg/analysis_server/lib/src/context_manager.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/analysis_server.dart
diff --git a/pkg/analysis_server/lib/src/analysis_server.dart b/pkg/analysis_server/lib/src/analysis_server.dart
index 843d50de4bdf9f74c8222fa57ff0dc97be6c83ab..36c972c380413084c45277badf6d04606c1f6c55 100644
--- a/pkg/analysis_server/lib/src/analysis_server.dart
+++ b/pkg/analysis_server/lib/src/analysis_server.dart
@@ -1959,7 +1959,8 @@ class ServerContextManagerCallbacks extends ContextManagerCallbacks {
nd.AnalysisDriver addAnalysisDriver(
Folder folder, ContextRoot contextRoot, AnalysisOptions options) {
ContextBuilder builder = createContextBuilder(folder, options);
- nd.AnalysisDriver analysisDriver = builder.buildDriver(contextRoot);
+ nd.AnalysisDriver analysisDriver =
+ builder.buildDriver(contextRoot, verbosePrint: print);
analysisDriver.results.listen((result) {
NotificationManager notificationManager =
analysisServer.notificationManager;
@@ -2070,7 +2071,8 @@ class ServerContextManagerCallbacks extends ContextManagerCallbacks {
@override
AnalysisContext addContext(Folder folder, AnalysisOptions options) {
ContextBuilder builder = createContextBuilder(folder, options);
- AnalysisContext context = builder.buildContext(folder.path);
+ AnalysisContext context =
+ builder.buildContext(folder.path, verbosePrint: print);
analysisServer.folderMap[folder] = context;
analysisServer._onContextsChangedController
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/context_manager.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698