Package org.jboss.logmanager.handlers
Class Handlers
java.lang.Object
org.jboss.logmanager.handlers.Handlers
Handler utility methods.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Handlers
private Handlers()
-
-
Method Details
-
wrap
Create a wrapper that exposes the handler's close and flush methods via the I/O API.- Parameters:
handler
- the logging handler- Returns:
- the wrapper
-
flusher
Create aRunnable
task that flushes a handler.- Parameters:
handler
- the handler- Returns:
- a flushing task
-