public class StreamToLogAdapter extends PrintStream
StreamToLogAdapter class.
| Modifier and Type | Field and Description |
|---|---|
protected PrintStream |
forward |
protected Log.LEVEL |
level |
protected StringBuffer |
line |
protected static Log |
log
Constant
log |
out| Constructor and Description |
|---|
StreamToLogAdapter(Log.LEVEL level,
PrintStream forward)
Constructor for StreamToLogAdapter.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
writeByte(int b)
writeByte.
|
protected void |
writeLine()
writeLine.
|
append, append, append, checkError, clearError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setError, write, writewriteprotected static Log log
logprotected Log.LEVEL level
protected StringBuffer line
protected PrintStream forward
public StreamToLogAdapter(Log.LEVEL level, PrintStream forward)
Constructor for StreamToLogAdapter.
level - a Log.LEVEL object.forward - a PrintStream object.Copyright © 2016. All Rights Reserved.