Package org.jboss.logmanager.handlers
Class Handlers
java.lang.Object
org.jboss.logmanager.handlers.Handlers
Handler utility methods.
-
Method Summary
-
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
-