Package org.springframework.util
Class CommonsLogWriter
java.lang.Object
java.io.Writer
org.springframework.util.CommonsLogWriter
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
java.io.Writer
adapter for a Commons Logging Log
.- Since:
- 2.5.1
- Author:
- Juergen Hoeller
-
Constructor Details
-
CommonsLogWriter
Create a new CommonsLogWriter for the given Commons Logging logger.- Parameters:
logger
- the Commons Logging logger to write to
-
-
Method Details
-
write
public void write(char ch) -
write
public void write(char[] buffer, int offset, int length) -
flush
public void flush() -
close
public void close()
-