org.pentaho.di.core.logging
Class Log4jKettleLayout
java.lang.Object
org.apache.log4j.Layout
org.pentaho.di.core.logging.Log4jKettleLayout
- All Implemented Interfaces:
- org.apache.log4j.spi.OptionHandler, Log4JLayoutInterface
public class Log4jKettleLayout
- extends org.apache.log4j.Layout
- implements Log4JLayoutInterface
Fields inherited from class org.apache.log4j.Layout |
LINE_SEP, LINE_SEP_LEN |
Methods inherited from class org.apache.log4j.Layout |
getContentType, getFooter, getHeader |
ERROR_STRING
public static final String ERROR_STRING
- See Also:
- Constant Field Values
Log4jKettleLayout
public Log4jKettleLayout()
Log4jKettleLayout
public Log4jKettleLayout(boolean addTime)
format
public String format(org.apache.log4j.spi.LoggingEvent event)
- Specified by:
format
in interface Log4JLayoutInterface
- Specified by:
format
in class org.apache.log4j.Layout
ignoresThrowable
public boolean ignoresThrowable()
- Specified by:
ignoresThrowable
in interface Log4JLayoutInterface
- Specified by:
ignoresThrowable
in class org.apache.log4j.Layout
activateOptions
public void activateOptions()
- Specified by:
activateOptions
in interface org.apache.log4j.spi.OptionHandler
- Specified by:
activateOptions
in interface Log4JLayoutInterface
isTimeAdded
public boolean isTimeAdded()
- Specified by:
isTimeAdded
in interface Log4JLayoutInterface
setTimeAdded
public void setTimeAdded(boolean addTime)
- Specified by:
setTimeAdded
in interface Log4JLayoutInterface