public interface MonologFactory extends LoggerFactory, LevelFactory, HandlerFactory
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT
This constant represents the default configuration type.
|
static java.lang.String |
LOG_CONFIGURATION_FILE
This constant can be used to specify the specific configuration file.
|
static java.lang.String |
LOG_CONFIGURATION_FILE_USE_CLASSPATH
This constant can be used to specify if the configuration file must be
searched into the classpath
|
static java.lang.String |
LOG_CONFIGURATION_TYPE
This constant can be used to specify the type of specific configuration
which you need.
|
static java.lang.String |
PROPERTY
This constant represents the property configuration type.
|
static java.lang.String |
XML
This constant represents the xml configuration type.
|
Modifier and Type | Method and Description |
---|---|
void |
addMonologFactoryListener(MonologFactoryListener mfl)
register a listener for the events of this MonologFactory
|
void |
configure(java.util.Properties prop)
This method permits to order to a monolog wrapper to configure the
underlying log system.
|
void |
removeMonologFactoryListener(MonologFactoryListener mfl)
forget a listener for the events of this MonologFactory
|
getLogger, getLogger, getLoggers, getResourceBundleName, setResourceBundleName
defineLevel, defineLevel, getLevel, getLevel, getLevels, removeLevel
createHandler, getHandler, getHandlers, removeHandler
static final java.lang.String LOG_CONFIGURATION_TYPE
static final java.lang.String DEFAULT
static final java.lang.String PROPERTY
static final java.lang.String XML
static final java.lang.String LOG_CONFIGURATION_FILE
static final java.lang.String LOG_CONFIGURATION_FILE_USE_CLASSPATH
void configure(java.util.Properties prop) throws java.lang.Exception
prop
- contains properties which describes the way to configure.
In particular three properties could be used:
java.lang.Exception
void addMonologFactoryListener(MonologFactoryListener mfl)
void removeMonologFactoryListener(MonologFactoryListener mfl)