|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.log4j.Layout
org.stanwood.media.logging.ConsoleLayout
public class ConsoleLayout
A layout for the console that prints the message and if not a info mesage, also prefixes it with the level.
Field Summary |
---|
Fields inherited from class org.apache.log4j.Layout |
---|
LINE_SEP, LINE_SEP_LEN |
Constructor Summary | |
---|---|
ConsoleLayout()
|
Method Summary | |
---|---|
void |
activateOptions()
Does not do anything |
java.lang.String |
format(org.apache.log4j.spi.LoggingEvent event)
Format the logging event for output |
boolean |
ignoresThrowable()
The ConsoleLayout does not handle the throwable contained within LoggingEvents . |
Methods inherited from class org.apache.log4j.Layout |
---|
getContentType, getFooter, getHeader |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConsoleLayout()
Method Detail |
---|
public void activateOptions()
public java.lang.String format(org.apache.log4j.spi.LoggingEvent event)
format
in class org.apache.log4j.Layout
event
- The logging event
public boolean ignoresThrowable()
LoggingEvents
. Thus, it returns
true
.
ignoresThrowable
in class org.apache.log4j.Layout
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |