com.devexperts.logging
Class DetailedLogLayout

java.lang.Object
  extended by org.apache.log4j.Layout
      extended by com.devexperts.logging.DetailedLogLayout
All Implemented Interfaces:
org.apache.log4j.spi.OptionHandler

public class DetailedLogLayout
extends org.apache.log4j.Layout

Detailed custom layout for log4j.


Field Summary
 
Fields inherited from class org.apache.log4j.Layout
LINE_SEP, LINE_SEP_LEN
 
Constructor Summary
DetailedLogLayout()
           
 
Method Summary
 void activateOptions()
           
 String format(org.apache.log4j.spi.LoggingEvent event)
           
 String[] getOptionStrings()
           
 boolean ignoresThrowable()
           
 void setOption(String option, String value)
           
 
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

DetailedLogLayout

public DetailedLogLayout()
Method Detail

activateOptions

public void activateOptions()
Specified by:
activateOptions in interface org.apache.log4j.spi.OptionHandler
Specified by:
activateOptions in class org.apache.log4j.Layout

getOptionStrings

public String[] getOptionStrings()
Specified by:
getOptionStrings in interface org.apache.log4j.spi.OptionHandler
Specified by:
getOptionStrings in class org.apache.log4j.Layout

setOption

public void setOption(String option,
                      String value)
Specified by:
setOption in interface org.apache.log4j.spi.OptionHandler
Specified by:
setOption in class org.apache.log4j.Layout

ignoresThrowable

public boolean ignoresThrowable()
Specified by:
ignoresThrowable in class org.apache.log4j.Layout

format

public String format(org.apache.log4j.spi.LoggingEvent event)
Specified by:
format in class org.apache.log4j.Layout


Copyright © 2013 Devexperts. All Rights Reserved.