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 Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     

    Nested 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_SIZE

    Fields inherited from class org.apache.logging.log4j.core.layout.AbstractLayout

    configuration, eventCount, footer, header, LOGGER

    Fields inherited from interface org.apache.logging.log4j.core.Layout

    ELEMENT_TYPE
  • Method Summary

    Modifier and Type
    Method
    Description
    createLayout(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.PatternParser
    createPatternParser(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, trimToMaxSize

    Methods inherited from class org.apache.logging.log4j.core.layout.AbstractLayout

    encode, getConfiguration, getContentFormat, markEvent

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.logging.log4j.core.layout.Encoder

    encode

    Methods inherited from interface org.apache.logging.log4j.core.Layout

    getContentFormat
  • Method Details

    • newSerializerBuilder

      public static SecurityPatternLayout.SerializerBuilder newSerializerBuilder()
    • toSerializable

      public String toSerializable(org.apache.logging.log4j.core.LogEvent event)
    • 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

      @PluginBuilderFactory public static SecurityPatternLayout.Builder newBuilder()