Class JcmsPatternLayout

java.lang.Object
org.apache.log4j.Layout
org.apache.log4j.PatternLayout
com.jalios.jcms.logging.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 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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.apache.log4j.helpers.PatternParser
     

    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 Details

    • JcmsPatternLayout

      public JcmsPatternLayout()
  • Method Details

    • createPatternParser

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