public final class BridgePatternConverter extends PatternConverter
next| 构造器和说明 |
|---|
BridgePatternConverter(java.lang.String pattern)
Create a new instance.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected java.lang.String |
convert(LoggingEvent event)
Derived pattern converters must override this method in order to
convert conversion specifiers in the correct way.
|
void |
format(java.lang.StringBuffer sbuf,
LoggingEvent e)
Format event to string buffer.
|
boolean |
ignoresThrowable()
Will return false if any of the conversion specifiers in the pattern
handles
Exceptions. |
spacePadpublic BridgePatternConverter(java.lang.String pattern)
pattern - pattern, may not be null.protected java.lang.String convert(LoggingEvent event)
convert 在类中 PatternConverterpublic void format(java.lang.StringBuffer sbuf,
LoggingEvent e)
format 在类中 PatternConvertersbuf - string buffer to receive formatted event, may not be null.e - event to format, may not be null.public boolean ignoresThrowable()
Exceptions.