Java in a Nutshell Online Quick Reference for Java 1.1
Availability: JDK 1.1
public class LogStream extends PrintStream { // No Constructor // Constants public static final int BRIEF; public static final int SILENT; public static final int VERBOSE; // Class Methods public static synchronized PrintStream getDefaultStream(); public static LogStream log(String name); public static int parseLevel(String s); public static synchronized void setDefaultStream(PrintStream newDefault); // Public Instance Methods public synchronized OutputStream getOutputStream(); public synchronized void setOutputStream(OutputStream out); public String toString(); // Overrides Object.toString() public void write(int b); // Overrides PrintStream.write() public void write(byte[] b, int off, int len); // Overrides PrintStream.write() }