|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.log4j.AppenderSkeleton org.codehaus.groovy.grails.plugins.log4j.appenders.GrailsConsoleAppender
public class GrailsConsoleAppender extends org.apache.log4j.AppenderSkeleton
A Log4j appender that appends to the GrailsConsole instance. Not for use in production/WAR deployed scenarios!
Field Summary | |
---|---|
static java.lang.String |
MESSAGE_PREFIX
|
Constructor Summary | |
GrailsConsoleAppender(groovy.util.ConfigObject config)
|
Method Summary | |
---|---|
protected void
|
append(org.apache.log4j.spi.LoggingEvent event)
|
void
|
close()
|
protected void
|
createStackTraceFilterer(groovy.util.ConfigObject config)
Pretty print the given stack trace and return the result |
protected void
|
createStackTracePrinter(groovy.util.ConfigObject config)
|
boolean
|
requiresLayout()
|
Methods inherited from class org.apache.log4j.AppenderSkeleton | |
---|---|
org.apache.log4j.AppenderSkeleton#finalize(), org.apache.log4j.AppenderSkeleton#getName(), org.apache.log4j.AppenderSkeleton#setName(java.lang.String), org.apache.log4j.AppenderSkeleton#close(), org.apache.log4j.AppenderSkeleton#setThreshold(org.apache.log4j.Priority), org.apache.log4j.AppenderSkeleton#doAppend(org.apache.log4j.spi.LoggingEvent), org.apache.log4j.AppenderSkeleton#addFilter(org.apache.log4j.spi.Filter), org.apache.log4j.AppenderSkeleton#setLayout(org.apache.log4j.Layout), org.apache.log4j.AppenderSkeleton#getLayout(), org.apache.log4j.AppenderSkeleton#getFilter(), org.apache.log4j.AppenderSkeleton#setErrorHandler(org.apache.log4j.spi.ErrorHandler), org.apache.log4j.AppenderSkeleton#getErrorHandler(), org.apache.log4j.AppenderSkeleton#getThreshold(), org.apache.log4j.AppenderSkeleton#activateOptions(), org.apache.log4j.AppenderSkeleton#clearFilters(), org.apache.log4j.AppenderSkeleton#getFirstFilter(), org.apache.log4j.AppenderSkeleton#isAsSevereAsThreshold(org.apache.log4j.Priority), org.apache.log4j.AppenderSkeleton#requiresLayout(), org.apache.log4j.AppenderSkeleton#wait(), org.apache.log4j.AppenderSkeleton#wait(long), org.apache.log4j.AppenderSkeleton#wait(long, int), org.apache.log4j.AppenderSkeleton#equals(java.lang.Object), org.apache.log4j.AppenderSkeleton#toString(), org.apache.log4j.AppenderSkeleton#hashCode(), org.apache.log4j.AppenderSkeleton#getClass(), org.apache.log4j.AppenderSkeleton#notify(), org.apache.log4j.AppenderSkeleton#notifyAll() |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Field Detail |
---|
public static final java.lang.String MESSAGE_PREFIX
Constructor Detail |
---|
public GrailsConsoleAppender(groovy.util.ConfigObject config)
Method Detail |
---|
@Override protected void append(org.apache.log4j.spi.LoggingEvent event)
public void close()
protected void createStackTraceFilterer(groovy.util.ConfigObject config)
throwable
- The throwable
protected void createStackTracePrinter(groovy.util.ConfigObject config)
public boolean requiresLayout()
Groovy Documentation