Package com.epam.common.logging
Class SecurityPatternLayout
java.lang.Object
org.apache.logging.log4j.core.layout.AbstractLayout<String>
org.apache.logging.log4j.core.layout.AbstractStringLayout
com.epam.common.logging.SecurityPatternLayout
- All Implemented Interfaces:
org.apache.logging.log4j.core.impl.LocationAware,org.apache.logging.log4j.core.Layout<String>,org.apache.logging.log4j.core.layout.Encoder<org.apache.logging.log4j.core.LogEvent>,org.apache.logging.log4j.core.StringLayout
@Plugin(name="SecurityPatternLayout",
category="Core",
elementType="layout",
printObject=true)
public class SecurityPatternLayout
extends org.apache.logging.log4j.core.layout.AbstractStringLayout
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class org.apache.logging.log4j.core.layout.AbstractStringLayout
org.apache.logging.log4j.core.layout.AbstractStringLayout.Serializer, org.apache.logging.log4j.core.layout.AbstractStringLayout.Serializer2 -
Field Summary
Fields inherited from class org.apache.logging.log4j.core.layout.AbstractStringLayout
DEFAULT_STRING_BUILDER_SIZE, MAX_STRING_BUILDER_SIZEFields inherited from class org.apache.logging.log4j.core.layout.AbstractLayout
configuration, eventCount, footer, header, LOGGERFields inherited from interface org.apache.logging.log4j.core.Layout
ELEMENT_TYPE -
Method Summary
Modifier and TypeMethodDescriptionstatic SecurityPatternLayoutcreateLayout(String pattern, org.apache.logging.log4j.core.layout.PatternSelector patternSelector, org.apache.logging.log4j.core.config.Configuration config, org.apache.logging.log4j.core.pattern.RegexReplacement[] replaces, Charset charset, boolean alwaysWriteExceptions, boolean noConsoleNoAnsi, String headerPattern, String footerPattern) static org.apache.logging.log4j.core.pattern.PatternParsercreatePatternParser(org.apache.logging.log4j.core.config.Configuration config) toSerializable(org.apache.logging.log4j.core.LogEvent event) Methods inherited from class org.apache.logging.log4j.core.layout.AbstractStringLayout
getBytes, getCharset, getContentType, getFooter, getFooterSerializer, getHeader, getHeaderSerializer, getStringBuilder, getStringBuilderEncoder, requiresLocation, serializeToBytes, serializeToString, toByteArray, trimToMaxSizeMethods inherited from class org.apache.logging.log4j.core.layout.AbstractLayout
encode, getConfiguration, getContentFormat, markEventMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.logging.log4j.core.layout.Encoder
encodeMethods inherited from interface org.apache.logging.log4j.core.Layout
getContentFormat
-
Method Details
-
newSerializerBuilder
-
toSerializable
-
createPatternParser
public static org.apache.logging.log4j.core.pattern.PatternParser createPatternParser(org.apache.logging.log4j.core.config.Configuration config) -
createLayout
@PluginFactory public static SecurityPatternLayout createLayout(@PluginAttribute(value="pattern",defaultString="%m%n") String pattern, @PluginElement("PatternSelector") org.apache.logging.log4j.core.layout.PatternSelector patternSelector, @PluginConfiguration org.apache.logging.log4j.core.config.Configuration config, @PluginElement("Replace") org.apache.logging.log4j.core.pattern.RegexReplacement[] replaces, @PluginAttribute("charset") Charset charset, @PluginAttribute(value="alwaysWriteExceptions",defaultBoolean=true) boolean alwaysWriteExceptions, @PluginAttribute("noConsoleNoAnsi") boolean noConsoleNoAnsi, @PluginAttribute("header") String headerPattern, @PluginAttribute("footer") String footerPattern) -
newBuilder
-