diff --git a/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jConfiguration.java b/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jConfiguration.java index c988bd81a7..8aff15a203 100644 --- a/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jConfiguration.java +++ b/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jConfiguration.java @@ -20,6 +20,8 @@ package org.apache.maven.cli.logging; */ import java.io.File; +import org.apache.maven.execution.MavenExecutionRequest; +import org.codehaus.plexus.logging.Logger; /** * Interface for configuration operations on loggers, which are not available in slf4j, then require per-slf4f-binding @@ -29,6 +31,14 @@ import java.io.File; */ public interface Slf4jConfiguration { + /** + * Set root logging level. + * + * @param level the level as defined in Plexus Logger LEVEL_* and equivalent + * MavenExecutionRequest.LOGGING_LEVEL_* constants. + * @see Logger + * @see MavenExecutionRequest + */ void setRootLoggerLevel( int level ); void setLoggerFile( File output );