Package com.iizix.log.slf4j
Class LogBinder
java.lang.Object
com.iizix.log.slf4j.LogBinder
Performs static binding to IIZI implementation of SLF4J when the
LogServiceProvider ServiceLoader failed loading and instantiating the class.- Author:
- Christopher Mindus
Constructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionstatic voidinit()Loads theLogServiceProviderusing theServiceLoader.static voidsetJettyDebug(boolean on) Assigns Jetty debug.
Constructor Details
LogBinder
public LogBinder()
Method Details
setJettyDebug
public static void setJettyDebug(boolean on) Assigns Jetty debug.init
public static void init()Loads theLogServiceProviderusing theServiceLoader. If it fails (typically in non-Jar mode or in IIZI development without Jars), it fixes up the failure by statically binding directly in theLoggerFactoryclass.This method does nothing if called more than once.