Package org.jboss.logmanager
Class LogService
java.lang.Object
org.jboss.logmanager.LogService
A simple log service which can be used to remove any bootstrap handlers when a real handler is configured.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
create()
Create lifecycle method.void
destroy()
Destroy lifecycle method.private static void
private static void
void
start()
Start method; removes and saves bootstrap handlers.void
stop()
Stop method; removes root handlers and restores the bootstrap handlers.
-
Field Details
-
log
-
rootLogger
-
bootstrapHandlers
-
-
Constructor Details
-
LogService
public LogService()
-
-
Method Details
-
create
public void create()Create lifecycle method. -
start
public void start()Start method; removes and saves bootstrap handlers. -
stop
public void stop()Stop method; removes root handlers and restores the bootstrap handlers. -
safeFlush
-
safeClose
-
destroy
public void destroy()Destroy lifecycle method.
-