@Plugin(name="LogXJsonLayout",
category="Core",
elementType="layout",
printObject=true)
public class LogXJsonLayout
extends org.apache.logging.log4j.core.layout.AbstractStringLayout
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
logger |
| Modifier | Constructor and Description |
|---|---|
protected |
LogXJsonLayout(org.apache.logging.log4j.core.config.Configuration config,
java.nio.charset.Charset aCharset) |
| Modifier and Type | Method and Description |
|---|---|
static LogXJsonLayout |
createLayout(org.apache.logging.log4j.core.config.Configuration config,
java.nio.charset.Charset charset) |
protected java.lang.String |
getException(org.apache.logging.log4j.core.LogEvent event) |
protected java.lang.String |
getMessage(org.apache.logging.log4j.core.LogEvent event) |
java.lang.String |
toSerializable(org.apache.logging.log4j.core.LogEvent event) |
getBytes, getCharset, getContentType, toByteArrayprotected LogXJsonLayout(org.apache.logging.log4j.core.config.Configuration config,
java.nio.charset.Charset aCharset)
@PluginFactory public static LogXJsonLayout createLayout(@PluginConfiguration org.apache.logging.log4j.core.config.Configuration config, @PluginAttribute(value="charset",defaultString="US-ASCII") java.nio.charset.Charset charset)
public java.lang.String toSerializable(org.apache.logging.log4j.core.LogEvent event)
protected java.lang.String getMessage(org.apache.logging.log4j.core.LogEvent event)
protected java.lang.String getException(org.apache.logging.log4j.core.LogEvent event)
Copyright © 2019. All Rights Reserved.