Skip to content

Commit ced3504

Browse files
committed
Clean up logging messages
1 parent b6b5c73 commit ced3504

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

flutter-idea/src/io/flutter/FlutterInitializer.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,13 @@ public class FlutterInitializer extends FlutterProjectActivity {
8484

8585
@Override
8686
public void executeProjectStartup(@NotNull Project project) {
87-
LOG.info("starting executeProjectStartup");
87+
LOG.info("Executing Flutter plugin startup for project: " + project.getName());
8888
// Disable the 'Migrate Project to Gradle' notification.
8989
FlutterUtils.disableGradleProjectMigrationNotification(project);
9090

91-
LOG.info("Starting watching for devices");
9291
// Start watching for devices.
9392
DeviceService.getInstance(project);
9493

95-
LOG.info("Starting a DevTools server");
9694
// Start a DevTools server
9795
DevToolsService.getInstance(project);
9896

@@ -111,7 +109,7 @@ public void executeProjectStartup(@NotNull Project project) {
111109
continue;
112110
}
113111

114-
LOG.info("This is a Flutter module");
112+
LOG.info("Flutter module has been found for project: " + project.getName());
115113
// Ensure SDKs are configured; needed for clean module import.
116114
FlutterModuleUtils.enableDartSDK(module);
117115

flutter-idea/src/io/flutter/run/daemon/DevToolsServerTask.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,11 @@ public void run(@NotNull ProgressIndicator progressIndicator) {
8181
try {
8282
progressIndicator.setFraction(30);
8383
progressIndicator.setText2("Init");
84-
LOG.info("Here we are in DevTools run");
84+
LOG.info("Finding or starting DevTools");
8585

8686
// If the `dart devtools` command is not supported, start the daemon instead.
8787
final boolean dartDevToolsSupported = dartSdkSupportsDartDevTools();
8888
if (!dartDevToolsSupported) {
89-
LOG.info("Starting the DevTools daemon.");
9089
progressIndicator.setFraction(60);
9190
progressIndicator.setText2("Daemon set-up");
9291
setUpWithDaemon();

0 commit comments

Comments
 (0)