Class MavenLogAdapter


  • public class MavenLogAdapter
    extends Object
    The adapter enables to integrate commons logging with Maven Log.
    Author:
    Karsten Klein
    • Constructor Detail

      • MavenLogAdapter

        public MavenLogAdapter()
    • Method Detail

      • initialize

        public static void initialize​(org.apache.maven.plugin.logging.Log log)
        Initializes the LogFactory to use the MavenLogAdapter. The specified Log instance is used when later initializing the individual log instances.
        Parameters:
        log - The Log instance to use.
      • release

        public static void release()
        Releases the current factory and re-installs the original factory.