ELEMENT_TYPE
Constructor and Description |
---|
LayoutAdapter(Layout layout) |
Modifier and Type | Method and Description |
---|---|
void |
encode(LogEvent event,
ByteBufferDestination destination) |
Map<String,String> |
getContentFormat() |
String |
getContentType() |
byte[] |
getFooter() |
byte[] |
getHeader() |
byte[] |
toByteArray(LogEvent event) |
String |
toSerializable(LogEvent event) |
public LayoutAdapter(Layout layout)
public byte[] toByteArray(LogEvent event)
toByteArray
in interface Layout<String>
public String toSerializable(LogEvent event)
toSerializable
in interface Layout<String>
public String getContentType()
getContentType
in interface Layout<String>
public Map<String,String> getContentFormat()
getContentFormat
in interface Layout<String>
public void encode(LogEvent event, ByteBufferDestination destination)
Copyright © 1999-1969 The Apache Software Foundation. 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.