public class JavaLoggingToMojoLoggingRedirector extends Object
Constructor and Description |
---|
JavaLoggingToMojoLoggingRedirector(org.apache.maven.plugin.logging.Log mojoLogger) |
Modifier and Type | Method and Description |
---|---|
void |
activate()
Activates this feature.
|
void |
deactivate()
Deactivate the redirection and put the original Handlers back in place
again.
|
public JavaLoggingToMojoLoggingRedirector(org.apache.maven.plugin.logging.Log mojoLogger)
mojoLogger
- the Maven mojo logger to delegate messages to.public void activate() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
- in the event of failurepublic void deactivate()
Copyright © 2018 The Apache Software Foundation. All rights reserved.