public class LogStream extends PrintStream
Modifier and Type | Field and Description |
---|---|
static int |
BRIEF |
static int |
SILENT |
static int |
VERBOSE |
out
Modifier and Type | Method and Description |
---|---|
static PrintStream |
getDefaultStream() |
OutputStream |
getOutputStream() |
static LogStream |
log(String name) |
static int |
parseLevel(String s) |
static void |
setDefaultStream(PrintStream newDefault) |
void |
setOutputStream(OutputStream out) |
String |
toString()
Default String representation: overriden by many classes.
|
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
checkError, close, flush, print, print, print, print, print, print, print, print, print, println, println, println, println, println, println, println, println, println, println, setError
write
public static final int BRIEF
public static final int SILENT
public static final int VERBOSE
public static PrintStream getDefaultStream()
public OutputStream getOutputStream()
public static int parseLevel(String s)
public static void setDefaultStream(PrintStream newDefault)
public void setOutputStream(OutputStream out)
public String toString()
Object
public void write(byte[] b, int off, int len)
write
in class PrintStream
public void write(int b)
write
in class PrintStream