A Log4j appender that appends to the GrailsConsole instance. Not for use in production/WAR deployed scenarios!
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
MESSAGE_PREFIX |
Constructor and description |
---|
GrailsConsoleAppender
(groovy.util.ConfigObject config) |
Type | Name and description |
---|---|
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 | Name |
---|---|
class org.apache.log4j.AppenderSkeleton |
org.apache.log4j.AppenderSkeleton#setName(java.lang.String), org.apache.log4j.AppenderSkeleton#setLayout(org.apache.log4j.Layout), org.apache.log4j.AppenderSkeleton#activateOptions(), org.apache.log4j.AppenderSkeleton#wait(long, int), org.apache.log4j.AppenderSkeleton#wait(long), org.apache.log4j.AppenderSkeleton#wait(), 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() |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), 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() |
Pretty print the given stack trace and return the result
throwable
- The throwable