org.pentaho.di.core.logging
Class Log4jStringAppender

java.lang.Object
  extended by org.pentaho.di.core.logging.Log4jStringAppender
All Implemented Interfaces:
org.apache.log4j.Appender

Deprecated. please use the centralized CentralLogStore to get your log lines from. Pass the log channel id of the parent object that you want the log for.

public class Log4jStringAppender
extends Object
implements org.apache.log4j.Appender

Author:
matt

Constructor Summary
Log4jStringAppender()
          Deprecated.  
 
Method Summary
 void addBufferChangedListener(BufferChangedListener bufferChangedListener)
          Deprecated.  
 void addFilter(org.apache.log4j.spi.Filter filter)
          Deprecated.  
 void clearFilters()
          Deprecated.  
 void close()
          Deprecated.  
 void doAppend(org.apache.log4j.spi.LoggingEvent event)
          Deprecated.  
 StringBuffer getBuffer()
          Deprecated.  
 org.apache.log4j.spi.ErrorHandler getErrorHandler()
          Deprecated.  
 org.apache.log4j.spi.Filter getFilter()
          Deprecated.  
 org.apache.log4j.Layout getLayout()
          Deprecated.  
 int getMaxNrLines()
          Deprecated.  
 String getName()
          Deprecated.  
 int getNrLines()
          Deprecated.  
 void removeBufferChangedListener(BufferChangedListener bufferChangedListener)
          Deprecated.  
 boolean requiresLayout()
          Deprecated.  
 void setBuffer(StringBuffer buffer)
          Deprecated.  
 void setErrorHandler(org.apache.log4j.spi.ErrorHandler arg0)
          Deprecated.  
 void setFilter(org.apache.log4j.spi.Filter filter)
          Deprecated.  
 void setLayout(org.apache.log4j.Layout layout)
          Deprecated.  
 void setMaxNrLines(int maxNrLines)
          Deprecated.  
 void setName(String name)
          Deprecated.  
 void setNrLines(int nrLines)
          Deprecated.  
 String toString()
          Deprecated.  
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Log4jStringAppender

public Log4jStringAppender()
Deprecated. 
Method Detail

toString

public String toString()
Deprecated. 
Overrides:
toString in class Object

addFilter

public void addFilter(org.apache.log4j.spi.Filter filter)
Deprecated. 
Specified by:
addFilter in interface org.apache.log4j.Appender

getFilter

public org.apache.log4j.spi.Filter getFilter()
Deprecated. 
Specified by:
getFilter in interface org.apache.log4j.Appender

clearFilters

public void clearFilters()
Deprecated. 
Specified by:
clearFilters in interface org.apache.log4j.Appender

close

public void close()
Deprecated. 
Specified by:
close in interface org.apache.log4j.Appender

doAppend

public void doAppend(org.apache.log4j.spi.LoggingEvent event)
Deprecated. 
Specified by:
doAppend in interface org.apache.log4j.Appender

setName

public void setName(String name)
Deprecated. 
Specified by:
setName in interface org.apache.log4j.Appender

getName

public String getName()
Deprecated. 
Specified by:
getName in interface org.apache.log4j.Appender

setErrorHandler

public void setErrorHandler(org.apache.log4j.spi.ErrorHandler arg0)
Deprecated. 
Specified by:
setErrorHandler in interface org.apache.log4j.Appender

getErrorHandler

public org.apache.log4j.spi.ErrorHandler getErrorHandler()
Deprecated. 
Specified by:
getErrorHandler in interface org.apache.log4j.Appender

setLayout

public void setLayout(org.apache.log4j.Layout layout)
Deprecated. 
Specified by:
setLayout in interface org.apache.log4j.Appender

getLayout

public org.apache.log4j.Layout getLayout()
Deprecated. 
Specified by:
getLayout in interface org.apache.log4j.Appender

requiresLayout

public boolean requiresLayout()
Deprecated. 
Specified by:
requiresLayout in interface org.apache.log4j.Appender

setFilter

public void setFilter(org.apache.log4j.spi.Filter filter)
Deprecated. 

getBuffer

public StringBuffer getBuffer()
Deprecated. 

setBuffer

public void setBuffer(StringBuffer buffer)
Deprecated. 

getMaxNrLines

public int getMaxNrLines()
Deprecated. 
Returns:
the maximum number of lines that this buffer contains, 0 or lower means: no limit

setMaxNrLines

public void setMaxNrLines(int maxNrLines)
Deprecated. 
Parameters:
maxNrLines - the maximum number of lines that this buffer should contain, 0 or lower means: no limit

getNrLines

public int getNrLines()
Deprecated. 
Returns:
the nrLines

addBufferChangedListener

public void addBufferChangedListener(BufferChangedListener bufferChangedListener)
Deprecated. 

removeBufferChangedListener

public void removeBufferChangedListener(BufferChangedListener bufferChangedListener)
Deprecated. 

setNrLines

public void setNrLines(int nrLines)
Deprecated. 
Parameters:
nrLines - the nrLines to set