org.norther.tammi.core.logger.log4j
Class ServerPatternParser
java.lang.Object
org.apache.log4j.helpers.PatternParser
org.norther.tammi.core.logger.log4j.ServerPatternParser
public class ServerPatternParser
- extends PatternParser
A customized pattern parser.
- b - plain message as bytes
- D - date as dd/MMM/yyyy:HH:mm:ss +0000
- e - exception of the message if any
- E - exception of the message if any URL encoded
- s - stack trace of the exception in its own line if any
- k{key} - named key from the args map or all keys
- K{key} - named key from the args map or all keys URL encoded
- Author:
- Ilkka Priha
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerPatternParser
public ServerPatternParser(String pttrn)
- Create a parser with the provided pattern.
- Parameters:
pttrn - a formatting pattern to parse
finalizeConverter
public void finalizeConverter(char formatChar)
- Maps converters.
- Overrides:
finalizeConverter in class PatternParser
- Parameters:
formatChar - a format char.
Copyright © 2004 The Norther Organization. All rights reserved.