public class MojoLogAppender
extends org.apache.log4j.AppenderSkeleton
| Constructor and Description |
|---|
MojoLogAppender() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
append(org.apache.log4j.spi.LoggingEvent event) |
static void |
beginLogging(org.apache.maven.plugin.AbstractMojo mojo)
Use this to start logging in any mojo.
|
void |
close() |
static void |
endLogging()
Use this to stop logging in the mojo.
|
boolean |
requiresLayout() |
public static void beginLogging(org.apache.maven.plugin.AbstractMojo mojo)
mojo - The mojo to start logging withinpublic static void endLogging()
protected final void append(org.apache.log4j.spi.LoggingEvent event)
append in class org.apache.log4j.AppenderSkeletonpublic final void close()
public final boolean requiresLayout()
Copyright © 2015. All Rights Reserved.