public final class Handlers
extends java.lang.Object
| Modifier and Type | Method | Description |
|---|---|---|
static java.lang.Runnable |
flusher(java.util.logging.Handler handler) |
Create a
Runnable task that flushes a handler. |
static FlushableCloseable |
wrap(java.util.logging.Handler handler) |
Create a wrapper that exposes the handler's close and flush methods via the I/O API.
|
public static FlushableCloseable wrap(java.util.logging.Handler handler)
handler - the logging handlerpublic static java.lang.Runnable flusher(java.util.logging.Handler handler)
Runnable task that flushes a handler.handler - the handlerCopyright © 2018. All rights reserved.