org.norther.tammi.core.logger.log4j
Class ServerPatternLayout

java.lang.Object
  extended by org.apache.log4j.Layout
      extended by org.apache.log4j.PatternLayout
          extended by org.norther.tammi.core.logger.log4j.ServerPatternLayout
All Implemented Interfaces:
OptionHandler

public class ServerPatternLayout
extends PatternLayout

A customized pattern layout.

Author:
Ilkka Priha

Field Summary
 
Fields inherited from class org.apache.log4j.PatternLayout
BUF_SIZE, DEFAULT_CONVERSION_PATTERN, MAX_CAPACITY, TTCC_CONVERSION_PATTERN
 
Fields inherited from class org.apache.log4j.Layout
LINE_SEP, LINE_SEP_LEN
 
Constructor Summary
ServerPatternLayout()
          Constructs a new layout.
ServerPatternLayout(String pattern)
          Constructs a new layout with a pattern.
 
Method Summary
 PatternParser createPatternParser(String pattern)
          Creates a pattern parser.
 
Methods inherited from class org.apache.log4j.PatternLayout
activateOptions, format, getConversionPattern, ignoresThrowable, setConversionPattern
 
Methods inherited from class org.apache.log4j.Layout
getContentType, getFooter, getHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerPatternLayout

public ServerPatternLayout()
Constructs a new layout.


ServerPatternLayout

public ServerPatternLayout(String pattern)
Constructs a new layout with a pattern.

Parameters:
pattern - the pattern.
Method Detail

createPatternParser

public PatternParser createPatternParser(String pattern)
Creates a pattern parser.

Overrides:
createPatternParser in class PatternLayout
Parameters:
pattern - the pattern.
Returns:
a pattern parser.


Copyright © 2004 The Norther Organization. All rights reserved.