Class JcmsPatternLayout

  • All Implemented Interfaces:
    org.apache.log4j.spi.OptionHandler

    public class JcmsPatternLayout
    extends org.apache.log4j.PatternLayout
    Custom log4j PatternLayout providing new patterns specific to JCMS.

    Patterns added to the default pattens supported by PatternLayout :

    • %s : for the channel name
    • %u : for the channel urid
    Since:
    jcms-8.0.2
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String REVISION  
      • Fields inherited from class org.apache.log4j.PatternLayout

        BUF_SIZE, DEFAULT_CONVERSION_PATTERN, MAX_CAPACITY, TTCC_CONVERSION_PATTERN
      • Fields inherited from class org.apache.log4j.Layout

        LINE_SEP, LINE_SEP_LEN
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.apache.log4j.helpers.PatternParser createPatternParser​(java.lang.String pattern)  
      • Methods inherited from class org.apache.log4j.PatternLayout

        activateOptions, format, getConversionPattern, ignoresThrowable, setConversionPattern
      • Methods inherited from class org.apache.log4j.Layout

        getContentType, getFooter, getHeader
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JcmsPatternLayout

        public JcmsPatternLayout()
    • Method Detail

      • createPatternParser

        protected org.apache.log4j.helpers.PatternParser createPatternParser​(java.lang.String pattern)
        Overrides:
        createPatternParser in class org.apache.log4j.PatternLayout