public class LoggerModule
extends se.jbee.inject.bind.BinderModule
| Modifier and Type | Class and Description |
|---|---|
static class |
LoggerModule.LoggerSupplier |
se.jbee.inject.bind.Binder.ConfigBinder<T>, se.jbee.inject.bind.Binder.InspectBinder, se.jbee.inject.bind.Binder.RootBinder, se.jbee.inject.bind.Binder.ScopedBinder, se.jbee.inject.bind.Binder.TargetedBinder, se.jbee.inject.bind.Binder.TypedBinder<T>, se.jbee.inject.bind.Binder.TypedElementBinder<E>| Constructor and Description |
|---|
LoggerModule() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
declare() |
static java.lang.String |
getDefaultName()
Gets the default logger name (the name of the logger injected into Game)
|
static void |
setDefaultName(java.lang.String name)
Changes the default logger name (the name of the logger injected into Game),
must be called before doing any dependency injection.
|
asDefault, on, per, provide, require, requirebind, injectingInto, injectingInto, injectingInto, injectingInto, injectingIntoin, inPackageAndSubPackagesOf, inPackageOf, inSubPackagesOf, within, within, within, within, withinarraybind, autobind, autobind, bind, bind, bind, bind, bind, configbind, configbind, construct, construct, construct, create, implicit, implicitBindToConstructor, implicitBindToConstructor, multibind, multibind, multibind, multibind, multibind, starbind, withpublic static void setDefaultName(java.lang.String name)
Is really only useful for engine implementations using NOVA.
name - The new name.public static java.lang.String getDefaultName()
"NOVA" if no default logger name was set)protected void declare()
declare in class se.jbee.inject.bind.BinderModule