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