blob: a7163a70fb48b4e59e7e7d940bd05b320ac832f1 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2008-2010 Sonatype, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Sonatype, Inc. - initial API and implementation
*******************************************************************************/
package org.eclipse.m2e.core.internal.embedder;
import org.codehaus.plexus.logging.AbstractLoggerManager;
import org.codehaus.plexus.logging.Logger;
import org.eclipse.m2e.core.embedder.IMavenConfiguration;
/**
* EclipseLoggerManager
*
* @author igor
*/
public class EclipseLoggerManager extends AbstractLoggerManager {
private EclipseLogger logger;
public EclipseLoggerManager(IMavenConfiguration mavenConfiguration) {
this.logger = new EclipseLogger(mavenConfiguration);
}
public int getActiveLoggerCount() {
return 1;
}
public Logger getLoggerForComponent(String arg0, String arg1) {
return logger;
}
public int getThreshold() {
return Logger.LEVEL_DEBUG;
}
public int getThreshold(String arg0, String arg1) {
return Logger.LEVEL_DEBUG;
}
public void returnComponentLogger(String arg0, String arg1) {
}
public void setThreshold(int arg0) {
}
public void setThreshold(String arg0, String arg1, int arg2) {
}
public void setThresholds(int arg0) {
}
}