Class LogBinder

java.lang.Object
com.iizix.log.slf4j.LogBinder

public class LogBinder extends Object
Performs static binding to IIZI implementation of SLF4J when the LogServiceProvider ServiceLoader failed loading and instantiating the class.
Author:
Christopher Mindus
  • Constructor Details Link icon

    • LogBinder Link icon

      public LogBinder()
  • Method Details Link icon

    • setJettyDebug Link icon

      public static void setJettyDebug(boolean on)
      Assigns Jetty debug.
    • init Link icon

      public static void init()
      Loads the LogServiceProvider using the ServiceLoader. If it fails (typically in non-Jar mode or in IIZI development without Jars), it fixes up the failure by statically binding directly in the LoggerFactory class.

      This method does nothing if called more than once.