|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.log4j.helpers.PatternConverter org.apache.log4j.pattern.BridgePatternConverter
public final class BridgePatternConverter
The class implements the pre log4j 1.3 org.apache.log4j.helpers.PatternConverter contract by delegating to the log4j 1.3 pattern implementation.
Field Summary |
---|
Fields inherited from class org.apache.log4j.helpers.PatternConverter |
---|
next |
Constructor Summary | |
---|---|
BridgePatternConverter(java.lang.String pattern)
Create a new instance. |
Method Summary | |
---|---|
protected java.lang.String |
convert(org.apache.log4j.spi.LoggingEvent event)
|
void |
format(java.lang.StringBuffer sbuf,
org.apache.log4j.spi.LoggingEvent e)
Format event to string buffer. |
boolean |
ignoresThrowable()
Will return false if any of the conversion specifiers in the pattern handles Exceptions . |
Methods inherited from class org.apache.log4j.helpers.PatternConverter |
---|
spacePad |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BridgePatternConverter(java.lang.String pattern)
pattern
- pattern, may not be null.Method Detail |
---|
protected java.lang.String convert(org.apache.log4j.spi.LoggingEvent event)
convert
in class org.apache.log4j.helpers.PatternConverter
public void format(java.lang.StringBuffer sbuf, org.apache.log4j.spi.LoggingEvent e)
format
in class org.apache.log4j.helpers.PatternConverter
sbuf
- string buffer to receive formatted event, may not be null.e
- event to format, may not be null.public boolean ignoresThrowable()
Exceptions
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010 The Apache Software Foundation. Licensed under the Apache License, Version 2.0
Apache Extras Companion for Apache log4j, Apache log4j and Apache are trademarks of the Apache Software Foundation.