Message
, MultiformatMessage
, Serializable
, StringBuilderFormattable
MapMessage
, StringMapMessage
, StructuredDataMessage
public interface MultiFormatStringBuilderFormattable extends MultiformatMessage, StringBuilderFormattable
Modifier and Type | Method | Description |
---|---|---|
void |
formatTo(String[] formats,
StringBuilder buffer) |
Writes a text representation of this object into the specified
StringBuilder , ideally without allocating
temporary objects. |
getFormat, getFormattedMessage, getParameters, getThrowable
getFormats, getFormattedMessage
formatTo
void formatTo(String[] formats, StringBuilder buffer)
StringBuilder
, ideally without allocating
temporary objects.formats
- An array of Strings that provide extra information about how to format the message.
Each MultiFormatStringBuilderFormattable implementation is free to use the provided formats however they choose.buffer
- the StringBuilder to write intoCopyright © 1999-2018. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.