ariba.util.log
Class StandardLayout

java.lang.Object
  extended by org.apache.log4j.Layout
      extended by org.apache.log4j.PatternLayout
          extended by ariba.util.log.StandardLayout
All Implemented Interfaces:
org.apache.log4j.spi.OptionHandler
Direct Known Subclasses:
BareLayout, DefaultLayout, HTMLLayout

public class StandardLayout
extends org.apache.log4j.PatternLayout

The standard layout for our logging component.


Field Summary
 
Fields inherited from class org.apache.log4j.PatternLayout
DEFAULT_CONVERSION_PATTERN, TTCC_CONVERSION_PATTERN
 
Fields inherited from class org.apache.log4j.Layout
LINE_SEP, LINE_SEP_LEN
 
Constructor Summary
StandardLayout()
          Instantiates an instance of this class with the default log pattern.
StandardLayout(java.lang.String pattern)
          Instantiates an instance of this class with the specified pattern
 
Method Summary
 org.apache.log4j.helpers.PatternParser createPatternParser(java.lang.String pattern)
           
 java.lang.String getHeader()
          Returns the header string when we start logging.
 
Methods inherited from class org.apache.log4j.PatternLayout
activateOptions, format, getConversionPattern, ignoresThrowable, setConversionPattern
 
Methods inherited from class org.apache.log4j.Layout
getContentType, getFooter
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardLayout

public StandardLayout()
Instantiates an instance of this class with the default log pattern.


StandardLayout

public StandardLayout(java.lang.String pattern)
Instantiates an instance of this class with the specified pattern

Parameters:
pattern - the pattern string to use for this layout.
Method Detail

getHeader

public java.lang.String getHeader()
Returns the header string when we start logging.

Overrides:
getHeader in class org.apache.log4j.Layout
Returns:
the header string

createPatternParser

public org.apache.log4j.helpers.PatternParser createPatternParser(java.lang.String pattern)
Overrides:
createPatternParser in class org.apache.log4j.PatternLayout


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.