@Plugin(name="SolrLogLayout",
        category="Core",
        elementType="layout",
        printObject=true)
public class SolrLogLayout
extends org.apache.logging.log4j.core.layout.AbstractStringLayout
| Modifier and Type | Class and Description | 
|---|---|
| static class  | SolrLogLayout.CoreInfo | 
| static class  | SolrLogLayout.Method | 
| static interface  | SolrLogLayout.TGAdd this interface to a thread group and the string returned by getTag()
 will appear in log statements of any threads under that group. | 
org.apache.logging.log4j.core.layout.AbstractStringLayout.Builder<B extends org.apache.logging.log4j.core.layout.AbstractStringLayout.Builder<B>>, org.apache.logging.log4j.core.layout.AbstractStringLayout.Serializer, org.apache.logging.log4j.core.layout.AbstractStringLayout.Serializer2| Modifier and Type | Field and Description | 
|---|---|
| boolean | shorterFormat | 
DEFAULT_STRING_BUILDER_SIZE, MAX_STRING_BUILDER_SIZE| Modifier | Constructor and Description | 
|---|---|
| protected  | SolrLogLayout(Charset charset) | 
| Modifier and Type | Method and Description | 
|---|---|
| String | _format(org.apache.logging.log4j.core.LogEvent event) | 
| void | appendThread(StringBuilder sb) | 
| static SolrLogLayout | createLayout(Charset charset) | 
| void | setShorterFormat() | 
| String | toSerializable(org.apache.logging.log4j.core.LogEvent event) | 
getBytes, getCharset, getContentType, getFooter, getFooterSerializer, getHeader, getHeaderSerializer, getStringBuilder, getStringBuilderEncoder, requiresLocation, serializeToBytes, serializeToString, toByteArray, trimToMaxSizeencode, getConfiguration, getContentFormat, markEventprotected SolrLogLayout(Charset charset)
@PluginFactory public static SolrLogLayout createLayout(@PluginAttribute(value="charset",defaultString="UTF-8") Charset charset)
public void appendThread(StringBuilder sb)
public String toSerializable(org.apache.logging.log4j.core.LogEvent event)
public String _format(org.apache.logging.log4j.core.LogEvent event)
public void setShorterFormat()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.