JBoss Log Manager: Log4j Emulation 1.0.0.GA

org.jboss.logmanager.log4j.handlers
Class FormatterLayout

java.lang.Object
  extended by org.apache.log4j.Layout
      extended by org.jboss.logmanager.log4j.handlers.FormatterLayout
All Implemented Interfaces:
org.apache.log4j.spi.OptionHandler

public final class FormatterLayout
extends org.apache.log4j.Layout

An emulator for log4j Layouts.

Author:
David M. Lloyd

Field Summary
 
Fields inherited from class org.apache.log4j.Layout
LINE_SEP, LINE_SEP_LEN
 
Constructor Summary
FormatterLayout(Formatter formatter)
          Construct a new instance.
 
Method Summary
 void activateOptions()
          
 String format(org.apache.log4j.spi.LoggingEvent event)
          
 boolean ignoresThrowable()
          
 
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

FormatterLayout

public FormatterLayout(Formatter formatter)
Construct a new instance.

Parameters:
formatter - the formatter to delegate to
Method Detail

format

public String format(org.apache.log4j.spi.LoggingEvent event)

Specified by:
format in class org.apache.log4j.Layout

ignoresThrowable

public boolean ignoresThrowable()

Specified by:
ignoresThrowable in class org.apache.log4j.Layout

activateOptions

public void activateOptions()


JBoss Log Manager: Log4j Emulation 1.0.0.GA

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.