public final class LogRecords
extends java.lang.Object
| Modifier and Type | Method | Description |
|---|---|---|
static void |
decorate(java.util.logging.LogRecord r,
Decorable d) |
Inspects the log record and decorates its content.
|
static void |
scan(java.io.File f,
java.util.logging.Handler h) |
Scan log records stored in a file.
|
static void |
scan(java.io.InputStream is,
java.util.logging.Handler h) |
Scan log records from an input stream.
|
static void |
write(java.io.OutputStream os,
java.util.logging.LogRecord rec) |
Writhe log record to an output stream.
|
public static void decorate(java.util.logging.LogRecord r,
Decorable d)
r - the log recordd - callback to be called with inspected valuespublic static void write(java.io.OutputStream os,
java.util.logging.LogRecord rec)
throws java.io.IOException
os - the output streamrec - the log recordjava.io.IOException - when an I/O error occurs.public static void scan(java.io.File f,
java.util.logging.Handler h)
throws java.io.IOException
f - the file to read log records fromh - handler that gets the log recordsjava.io.IOException - when an I/O error occurs.public static void scan(java.io.InputStream is,
java.util.logging.Handler h)
throws java.io.IOException
is - the input stream to read log records fromh - handler that gets the log recordsjava.io.IOException - when an I/O error occurs.Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.