com.ibatis.common.log
Class LogOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by com.ibatis.common.log.LogOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable

Deprecated. Use Jakarta commons logging

public class LogOutputStream
extends java.io.OutputStream

Author:
clinton_begin

Field Summary
(package private)  java.lang.StringBuffer buffer
          Deprecated.  
private static char CHAR_CR
          Deprecated.  
private static char CHAR_LF
          Deprecated.  
private static int INITIAL_BUFFER_SIZE
          Deprecated.  
(package private)  LogLevel level
          Deprecated.  
(package private)  Log log
          Deprecated.  
 
Constructor Summary
LogOutputStream(Log log, LogLevel level)
          Deprecated.  
 
Method Summary
 void flush()
          Deprecated.  
 void write(int b)
          Deprecated.  
 
Methods inherited from class java.io.OutputStream
close, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INITIAL_BUFFER_SIZE

private static final int INITIAL_BUFFER_SIZE
Deprecated. 
See Also:
Constant Field Values

CHAR_CR

private static final char CHAR_CR
Deprecated. 
See Also:
Constant Field Values

CHAR_LF

private static final char CHAR_LF
Deprecated. 
See Also:
Constant Field Values

log

Log log
Deprecated. 

level

LogLevel level
Deprecated. 

buffer

java.lang.StringBuffer buffer
Deprecated. 
Constructor Detail

LogOutputStream

public LogOutputStream(Log log,
                       LogLevel level)
Deprecated. 
Method Detail

write

public void write(int b)
           throws java.io.IOException
Deprecated. 
Specified by:
write in class java.io.OutputStream
Throws:
java.io.IOException

flush

public void flush()
           throws java.io.IOException
Deprecated. 
Specified by:
flush in interface java.io.Flushable
Overrides:
flush in class java.io.OutputStream
Throws:
java.io.IOException