|
Java Platform 1.2 Beta 4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.io.OutputStream | +--java.io.FilterOutputStream | +--java.io.PrintStream | +--java.rmi.server.LogStream
LogStream
presents a mechanism for logging errors that are
of possible interest to those monitoring the system.
Field Summary | |
static int | BRIEF
|
static int | SILENT
constants for logging levels |
static int | VERBOSE
|
Fields inherited from class java.io.FilterOutputStream | |
out |
Method Summary | |
static PrintStream | getDefaultStream()
Return the current default stream for new logs. |
OutputStream | getOutputStream()
Return the current stream to which output from this log is sent. |
static LogStream | log(String name)
Return the LogStream identified by the given name. |
static int | parseLevel(String s)
Convert a string name of a logging level to its internal integer representation. |
static void | setDefaultStream(PrintStream newDefault)
Set the default stream for new logs. |
void | setOutputStream(OutputStream out)
Set the stream to which output from this log is sent. |
String | toString()
Return log name as string representation |
void | write(byte[] b,
int off,
int len)
Write a subarray of bytes. |
void | write(int b)
Write a byte of data to the stream. |
Methods inherited from class java.io.PrintStream | |
checkError , close , flush , print , print , print , print , print , print , print , print , print , 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)
|
Java Platform 1.2 Beta 4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |