aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse/plugins/com.android.ide.eclipse.monitor
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2012-08-16 19:28:20 -0700
committerXavier Ducrohet <xav@android.com>2012-08-17 11:36:32 -0700
commitae6a209f6f4030e1ebe20118f9455547e4cd50fc (patch)
treef61ce892f88e3bee449eb6dddc8f820a4bfa6f1e /eclipse/plugins/com.android.ide.eclipse.monitor
parent8863aa8bdefdc769f483f72ab90b3d9d97aba212 (diff)
downloadsdk-ae6a209f6f4030e1ebe20118f9455547e4cd50fc.zip
sdk-ae6a209f6f4030e1ebe20118f9455547e4cd50fc.tar.gz
sdk-ae6a209f6f4030e1ebe20118f9455547e4cd50fc.tar.bz2
Unify all loggers in the sdk tools.
Removed ILogger from ide_common Removed ISdkLog (and implementations) from sdklib Moved all existing code to com.android.utils.ILogger which is located in common. Change-Id: Icd674d4b8d10f6ae8b60a83acb43cc53c7a52137
Diffstat (limited to 'eclipse/plugins/com.android.ide.eclipse.monitor')
-rw-r--r--eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/MonitorApplication.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/MonitorApplication.java b/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/MonitorApplication.java
index 5f87813..aee6c87 100644
--- a/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/MonitorApplication.java
+++ b/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/MonitorApplication.java
@@ -18,11 +18,11 @@ package com.android.ide.eclipse.monitor;
import com.android.ide.eclipse.monitor.SdkToolsLocator.SdkInstallStatus;
import com.android.prefs.AndroidLocation;
-import com.android.sdklib.ISdkLog;
-import com.android.sdklib.NullSdkLog;
import com.android.sdklib.SdkManager;
import com.android.sdkstats.SdkStatsService;
import com.android.sdkuilib.internal.repository.sdkman2.AdtUpdateDialog;
+import com.android.utils.ILogger;
+import com.android.utils.NullLogger;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.Path;
@@ -60,7 +60,7 @@ public class MonitorApplication implements IApplication {
MonitorPlugin.getDefault().setSdkPath(sdkPath);
// install platform tools if necessary
- ISdkLog sdkLog = new NullSdkLog();
+ ILogger sdkLog = NullLogger.getLogger();
SdkManager manager = SdkManager.createManager(sdkPath, sdkLog);
if (manager.getPlatformToolsVersion() == null) {
AdtUpdateDialog window = new AdtUpdateDialog(new Shell(display), sdkLog, sdkPath);