public class ERXPatternLayout
extends org.apache.log4j.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
| Constructor and Description |
|---|
ERXPatternLayout()
Default constructor.
|
ERXPatternLayout(String pattern)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.log4j.helpers.PatternParser |
createPatternParser(String pattern)
Creates a pattern parser for the given pattern.
|
static ERXPatternLayout |
instance() |
public ERXPatternLayout()
public ERXPatternLayout(String pattern)
pattern - layout to be used.public static ERXPatternLayout instance()
public org.apache.log4j.helpers.PatternParser createPatternParser(String pattern)
createPatternParser in class org.apache.log4j.PatternLayoutpattern - to create the pattern parser forCopyright © 2002 – 2025 Project Wonder.