ch.qos.logback.core.pattern
Class FormattingConverter<E>
java.lang.Object
ch.qos.logback.core.pattern.Converter<E>
ch.qos.logback.core.pattern.FormattingConverter<E>
- Direct Known Subclasses:
- CompositeConverter, DynamicConverter
public abstract class FormattingConverter<E>
- extends Converter<E>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormattingConverter
public FormattingConverter()
getFormattingInfo
public final FormatInfo getFormattingInfo()
setFormattingInfo
public final void setFormattingInfo(FormatInfo formattingInfo)
write
public final void write(StringBuffer buf,
E event)
- Description copied from class:
Converter
- In its simplest incarnation, a convert simply appends the data extracted from
the event to the buffer passed as parameter.
- Overrides:
write
in class Converter<E>
- Parameters:
buf
- The input buffer where data is appendedevent
- The event from where data is extracted
spacePad
public static void spacePad(StringBuffer sbuf,
int length)
- Fast space padding method.
Copyright © 2005-2008 QOS.ch. All Rights Reserved.