is new.
java.lang.Objectjava.io.OutputStream
java.io.FilterOutputStream
java.io.PrintStream
java.rmi.server.LogStream
,
Flushable
,
Appendable
public class LogStream
LogStream provides a mechanism for logging errors that are of possible interest to those monitoring a system.
| Field Summary | |
|---|---|
| static int |
BRIEF
Deprecated. log level constant (brief logging). |
| static int |
SILENT
Deprecated. log level constant (no logging). |
| static int |
VERBOSE
Deprecated. log level constant (verbose logging). |
| Fields inherited from class java.io. FilterOutputStream |
|---|
| out |
| Method Summary | |
|---|---|
| static PrintStream |
getDefaultStream
() Deprecated. no replacement |
| OutputStream |
getOutputStream
() Deprecated. no replacement |
| static LogStream |
log
(
String
name) Deprecated. no replacement |
| static int |
parseLevel
(
String
s) Deprecated. no replacement |
| static void |
setDefaultStream
(
PrintStream
newDefault) Deprecated. no replacement |
| void |
setOutputStream
(
OutputStream
out) Deprecated. no replacement |
| String |
toString
() Deprecated. no replacement |
| void |
write
(byte[] b, int off, int len) Deprecated. no replacement |
| void |
write
(int b) Deprecated. no replacement |
| Methods inherited from class java.io. PrintStream |
|---|
| append , append , checkError , 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 |
| Methods inherited from class java.io. FilterOutputStream |
|---|
| write |
| Methods inherited from class java.lang. Object |
|---|
| clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait |
| Field Detail |
|---|
public static final int SILENT
public static final int BRIEF
public static final int VERBOSE
| Method Detail |
|---|
public static LogStream log(String name)
public static PrintStream getDefaultStream()
public static void setDefaultStream(PrintStream newDefault)
public OutputStream getOutputStream()
public void setOutputStream(OutputStream out)
public void write(int b)
public void write(byte[] b,
int off,
int len)
public String toString()
public static int parseLevel(String s)