| Modifier and Type | Field and Description |
|---|---|
| private volatile ColorMap | |
| private volatile String |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | PatternFormatter(String
the initial pattern pattern, String the color map to use colors)Construct a new instance. |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | |
| public void | |
| public void |
| colors | back to summary |
|---|---|
| private volatile ColorMap colors | |
| pattern | back to summary |
|---|---|
| private volatile String pattern | |
| PatternFormatter | back to summary |
|---|---|
| public PatternFormatter() Construct a new instance. | |
| PatternFormatter | back to summary |
|---|---|
| public PatternFormatter(String pattern) Construct a new instance.
| |
| PatternFormatter | back to summary |
|---|---|
| public PatternFormatter(String pattern, String colors) Construct a new instance. | |
| getColors | back to summary |
|---|---|
| public String getColors() | |
| getPattern | back to summary |
|---|---|
| public String getPattern() Get the current format pattern.
| |
| setColors | back to summary | |||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public void setColors(String colors) Set the color map to use for log levels when %K{level} is used. The format is level:color,level:color,... Where level is either a numerical value or one of the following constants:
Color is one of the following constants:
| ||||||||||||||||||||||||||||||
| setPattern | back to summary |
|---|---|
| public void setPattern(final String pattern) Set the format pattern.
| |