io.sarl.apputils.bootiqueapp.config
Class LogConfigModule
All Superinterfaces:
io.bootique.di.BQModule
class LogConfigModule
extends java.lang.Object
implements io.bootique.di.BQModule
Module for creating and configuring the loggers.
Maven Group Identifier:
io.sarl.apputils
Maven Artifact Identifier:
bootiqueapp
Since:
0.12
Field Summary
Modifier and type Field and description
public static val java.lang.String LOG_LONG_OPTION
Name of the command-line option.
Constructor Summary
Constructor and description
new
Action Summary
Modifier and type Action and description
void configure(Binder)
LogConfig provideLogConfig(ConfigurationFactory,Injector)
Replies the instance of the logger configuration.
Field Details
LOG_LONG_OPTION
public static val LOG_LONG_OPTION : java.lang.String = "log"
Name of the command-line option.
Constructor Details
new
new
Action Details
configure(Binder)
def configure(Binder)
provideLogConfig(ConfigurationFactory,Injector)
def provideLogConfig(ConfigurationFactory,Injector) : LogConfig
Replies the instance of the logger configuration.
Parameters:
configFactory - accessor to the bootique factory.
injector - the current injector.
Returns:
the path configuration accessor.