Class LogService

java.lang.Object
org.jboss.logmanager.LogService

public final class LogService extends Object
A simple log service which can be used to remove any bootstrap handlers when a real handler is configured.
  • Field Details

    • log

      private static final Logger log
    • rootLogger

      private static final Logger rootLogger
    • bootstrapHandlers

      private Handler[] 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

      private static void safeFlush(Handler handler)
    • safeClose

      private static void safeClose(Handler handler)
    • destroy

      public void destroy()
      Destroy lifecycle method.