Package Summary  Overview Summary

class:LogStream [NONE]

field:SILENT [NONE]

  • SILENT

    public static final int SILENT
    Deprecated.
    log level constant (no logging).
    See Also:
    Constant Field Values

field:BRIEF [NONE]

  • BRIEF

    public static final int BRIEF
    Deprecated.
    log level constant (brief logging).
    See Also:
    Constant Field Values

field:VERBOSE [NONE]

  • VERBOSE

    public static final int VERBOSE
    Deprecated.
    log level constant (verbose logging).
    See Also:
    Constant Field Values

method:log(java.lang.String) [NONE]

  • log

    @Deprecated
    public static LogStream log​(String name)
    Deprecated.
    no replacement
    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

method:getDefaultStream() [NONE]

method:setDefaultStream(java.io.PrintStream) [NONE]

  • setDefaultStream

    @Deprecated
    public static void setDefaultStream​(PrintStream newDefault)
    Deprecated.
    no replacement
    Set the default stream for new logs.
    Parameters:
    newDefault - new default log stream
    Since:
    1.1
    See Also:
    getDefaultStream()

method:getOutputStream() [NONE]

method:setOutputStream(java.io.OutputStream) [NONE]

  • setOutputStream

    @Deprecated
    public void setOutputStream​(OutputStream out)
    Deprecated.
    no replacement
    Set the stream to which output from this log is sent.
    Parameters:
    out - new output stream for this log
    Since:
    1.1
    See Also:
    getOutputStream()

method:write(int) [NONE]

  • write

    @Deprecated
    public void write​(int b)
    Deprecated.
    no replacement
    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)

method:write(byte[],int,int) [NONE]

  • write

    @Deprecated
    public void write​(byte[] b,
                      int off,
                      int len)
    Deprecated.
    no replacement
    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)

method:toString() [NONE]

  • toString

    @Deprecated
    public String toString()
    Deprecated.
    no replacement
    Return log name as string representation.
    Overrides:
    toString in class Object
    Returns:
    log name
    Since:
    1.1

method:parseLevel(java.lang.String) [NONE]

  • parseLevel

    @Deprecated
    public static int parseLevel​(String s)
    Deprecated.
    no replacement
    Convert a string name of a logging level to its internal integer representation.
    Parameters:
    s - name of logging level (e.g., 'SILENT', 'BRIEF', 'VERBOSE')
    Returns:
    corresponding integer log level
    Since:
    1.1

© 2019 Oracle Corporation and/or its affiliates