Package org.apache.logging.log4j.util
Interface StringBuilderFormattable
-
- All Known Subinterfaces:
Instant,MultiFormatStringBuilderFormattable,ReusableMessage
- All Known Implementing Classes:
DefaultFlowMessageFactory.AbstractFlowMessage,DefaultFlowMessageFactory.SimpleEntryMessage,DefaultFlowMessageFactory.SimpleExitMessage,DefaultThreadContextStack,MapMessage,MarkerManager.Log4jMarker,MementoMessage,MutableInstant,MutableLogEvent,MutableThreadContextStack,ObjectMessage,ParameterizedMessage,ReusableObjectMessage,ReusableParameterizedMessage,ReusableSimpleMessage,RingBufferLogEvent,SimpleMessage,StringMapMessage,StructuredDataCollectionMessage,StructuredDataId,StructuredDataMessage,ThreadDumpMessage,Timer
public interface StringBuilderFormattableObjects that implement this interface can be converted to text, ideally without allocating temporary objects.- Since:
- 2.6
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidformatTo(java.lang.StringBuilder buffer)Writes a text representation of this object into the specifiedStringBuilder, ideally without allocating temporary objects.
-