public class ERXPatternLayout extends PatternLayout
WebObjects Application Info Patterns Example: %W{n[i:p s]} -- MyApp[9300:2001 28] n: application name i: pid (process ID, provided through Java system property "com.webobjects.pid") p: primary adaptor's port number s: active session count Java VM (Virtual Machine) Info Patterns Example: %V{u used/f free} -- 75.22 MB used/12.86 MB free t: total memory u: used memory f: free memory in the current heap size (not max) m: max memory
BUF_SIZE, DEFAULT_CONVERSION_PATTERN, MAX_CAPACITY, TTCC_CONVERSION_PATTERN
LINE_SEP, LINE_SEP_LEN
Constructor and Description |
---|
ERXPatternLayout()
Default constructor.
|
ERXPatternLayout(String pattern)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
PatternParser |
createPatternParser(String pattern)
Creates a pattern parser for the given pattern.
|
static ERXPatternLayout |
instance() |
activateOptions, format, getConversionPattern, ignoresThrowable, setConversionPattern
getContentType, getFooter, getHeader
public ERXPatternLayout()
public ERXPatternLayout(String pattern)
pattern
- layout to be used.public static ERXPatternLayout instance()
public PatternParser createPatternParser(String pattern)
createPatternParser
in class PatternLayout
pattern
- to create the pattern parser forCopyright © 2002 – 2020 Project Wonder.