java.lang.Objectorg.apache.log4j.Layout
org.apache.log4j.PatternLayout
examples.MyPatternLayout
All Implemented Interfaces:
OptionHandler
In this case MyPatternLayout recognizes %# conversion pattern. It outputs the value of an internal counter which is also incremented at each call.
See source code for more details.
Anders
- KristensenFields inherited from org.apache.log4j.PatternLayout: |
---|
DEFAULT_CONVERSION_PATTERN, TTCC_CONVERSION_PATTERN, BUF_SIZE, MAX_CAPACITY |
Fields inherited from org.apache.log4j.Layout: |
---|
LINE_SEP, LINE_SEP_LEN |
Constructor: |
---|
|
|
Method from examples.MyPatternLayout Summary: |
---|
createPatternParser, main |
Methods from org.apache.log4j.PatternLayout: |
---|
activateOptions, createPatternParser, format, getConversionPattern, ignoresThrowable, setConversionPattern |
Methods from org.apache.log4j.Layout: |
---|
activateOptions, format, getContentType, getFooter, getHeader, ignoresThrowable |
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from examples.MyPatternLayout Detail: |
---|
|
|