Class MavenLogAdapter
- java.lang.Object
-
- org.metaeffekt.core.maven.kernel.log.MavenLogAdapter
-
public class MavenLogAdapter extends Object
The adapter enables to integrate commons logging with Maven Log.- Author:
- Karsten Klein
-
-
Constructor Summary
Constructors Constructor Description MavenLogAdapter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
initialize(org.apache.maven.plugin.logging.Log log)
Initializes theLogFactory
to use theMavenLogAdapter
.static void
release()
Releases the current factory and re-installs the original factory.
-
-
-
Method Detail
-
initialize
public static void initialize(org.apache.maven.plugin.logging.Log log)
Initializes theLogFactory
to use theMavenLogAdapter
. The specifiedLog
instance is used when later initializing the individual log instances.- Parameters:
log
- TheLog
instance to use.
-
release
public static void release()
Releases the current factory and re-installs the original factory.
-
-