JavaScript is disabled on your browser.
JavaScript is disabled on your browser.
Field Summary
Fields
Modifier and Type
Field
Description
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).
Method Summary
Methods declared in class java.io.PrintStream
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
Method Detail
log
@Deprecated
public static LogStream log(String name)
Deprecated.
Return the LogStream identified by the given name. If
a log corresponding to "name" does not exist, a log using
the default stream is created.
Parameters:
name
- name identifying the desired LogStream
Returns:
log associated with given name
Since:
1.1
write
@Deprecated
public void write(int b)
Deprecated.
Write a byte of data to the stream. If it is not a newline, then
the byte is appended to the internal buffer. If it is a newline,
then the currently buffered line is sent to the log's output
stream, prefixed with the appropriate logging information.
Overrides:
write
in class PrintStream
Parameters:
b
- The byte to be written
Since:
1.1
See Also:
PrintStream.print(char)
,
PrintStream.println(char)
write
@Deprecated
public void write(byte[] b,
int off,
int len)
Deprecated.
Write a subarray of bytes. Pass each through write byte method.
Overrides:
write
in class PrintStream
Parameters:
b
- A byte array
off
- Offset from which to start taking bytes
len
- Number of bytes to write
Since:
1.1
See Also:
FilterOutputStream.write(int)
JavaScript is disabled on your browser.
Report a bug or suggest an enhancement For further API reference and developer documentation see the Java SE Documentation , which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries. Copyright © 1993, 2018, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA. All rights reserved. Use is subject to license terms and the documentation redistribution policy .
Scripting on this page tracks web page traffic, but does not change the content in any way.