public class RelativeTimePatternConverter extends LoggingEventPatternConverter
构造器和说明 |
---|
RelativeTimePatternConverter()
Private constructor.
|
限定符和类型 | 方法和说明 |
---|---|
void |
format(LoggingEvent event,
java.lang.StringBuffer toAppendTo)
Formats an event into a string buffer.
|
static RelativeTimePatternConverter |
newInstance(java.lang.String[] options)
Obtains an instance of RelativeTimePatternConverter.
|
format, handlesThrowable
getName, getStyleClass
public static RelativeTimePatternConverter newInstance(java.lang.String[] options)
options
- options, currently ignored, may be null.public void format(LoggingEvent event, java.lang.StringBuffer toAppendTo)
format
在类中 LoggingEventPatternConverter
event
- event to format, may not be null.toAppendTo
- string buffer to which the formatted event will be appended. May not be null.