Package com.iizix.log.slf4j
Class LogBinder
- java.lang.Object
- com.iizix.log.slf4j.LogBinder
public class LogBinder extends java.lang.Object
Performs static binding to IIZI implementation of SLF4J when theLogServiceProvider
ServiceLoader failed loading and instantiating the class.- Author:
- Christopher Mindus
Constructor Summary
Constructors Constructor Description LogBinder()
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
init()
Loads theLogServiceProvider
using theServiceLoader
.static void
setJettyDebug(boolean on)
Assigns Jetty debug.
Method Detail
setJettyDebug
public static void setJettyDebug(boolean on)
Assigns Jetty debug.
init
public static void init()
Loads theLogServiceProvider
using 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 theLoggerFactory
class.This method does nothing if called more than once.