|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.log4j.AppenderSkeleton org.pentaho.di.core.logging.KettleLogChannelAppender
public class KettleLogChannelAppender
Logs Log4j log events to a Kettle log channel
Field Summary | |
---|---|
static Map<LogLevel,org.apache.log4j.Level> |
LOG_LEVEL_MAP
Maps Kettle LogLevels to Log4j Levels |
Constructor Summary | |
---|---|
KettleLogChannelAppender(LogChannelInterface log)
|
|
KettleLogChannelAppender(LogChannelInterface log,
org.apache.log4j.Layout layout)
Create an appender that logs to the provided log channel |
Method Summary | |
---|---|
void |
close()
|
boolean |
requiresLayout()
|
Methods inherited from class org.apache.log4j.AppenderSkeleton |
---|
activateOptions, addFilter, clearFilters, doAppend, finalize, getErrorHandler, getFilter, getFirstFilter, getLayout, getName, getThreshold, isAsSevereAsThreshold, setErrorHandler, setLayout, setName, setThreshold |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static Map<LogLevel,org.apache.log4j.Level> LOG_LEVEL_MAP
Constructor Detail |
---|
public KettleLogChannelAppender(LogChannelInterface log)
public KettleLogChannelAppender(LogChannelInterface log, org.apache.log4j.Layout layout)
log
- Log channel to log tolayout
- layout to use
NullPointerException
- If log
is nullMethod Detail |
---|
public boolean requiresLayout()
public void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |