public interface MonologFactoryProxy
LoggerInfo
Modifier and Type | Method and Description |
---|---|
void |
addHandlerToLogger(java.lang.String handlerName,
java.lang.String loggerName)
A TopicalLogger manages a list of Handler instances.
|
void |
addTopicToLogger(java.lang.String topic,
java.lang.String loggerName)
This method allows adding a topic to a TopicalLogger.
|
int |
compareTo(java.lang.String levelname1,
java.lang.String levelname2)
Compares two levels.
|
boolean |
createHandler(java.lang.String hn,
java.lang.String handlertype)
Creates a new handler
|
boolean |
defineLevel(java.lang.String name,
int value)
It defines a new Level with a name and an integer value.
|
boolean |
defineLevel(java.lang.String name,
java.lang.String value)
It defines a new Level with a name and a string value.
|
java.util.Map |
getAllHandlerAttributes()
It retrieves the attributes of all handlers
|
java.util.Map |
getHandlerAttributes(java.lang.String handlername)
It retrieves the attributes of an handler
|
java.lang.String[] |
getHandlerNames()
It retrieves name of all handler managed by this factory.
|
Level |
getLevel(int value)
It retrieves a Level instance which the integer value is equals to the
parameter.
|
Level |
getLevel(java.lang.String name)
It retrieves a Level instance which the name is equals to the parameter.
|
Level[] |
getLevels()
It retrieves all Level instances defined in this manager.
|
LoggerInfo |
getLogger(java.lang.String loggername)
Creates a logger if it does not exist.
|
LoggerInfo |
getLogger(java.lang.String key,
java.lang.String resourceBundleName)
Creates a logger if it does not exist.
|
LoggerInfo[] |
getLoggers()
It retrieves a list of all loggers.
|
java.util.Properties |
getMonologProperties()
Retrieves the properties corresponding to the current configuration.
|
java.lang.String |
getResourceBundleName()
Accessors to a resource bundle name associated to a LoggerFactory.
|
void |
removeAllHandlersFromLogger(java.lang.String loggerName)
A TopicalLogger manages a list of Handler instances.
|
boolean |
removeHandler(java.lang.String handlername)
It removes the handler which the name is specified by the parameter
|
void |
removeHandlerFromLogger(java.lang.String handlerName,
java.lang.String loggerName)
A TopicalLogger manages a list of Handler instances.
|
void |
removeLevel(java.lang.String name)
It removes a Level instance to this manager.
|
void |
removeTopicFromLogger(java.lang.String topic,
java.lang.String loggerName)
This method allows removing a topic to a TopicalLogger.
|
void |
setAdditivity(boolean a,
java.lang.String loggerName)
It assigns the additivity flag for this logger instance.
|
void |
setHandlerAttribute(java.lang.String handlername,
java.lang.String attributeName,
java.lang.String value)
Assignes a value to an handler attribute.
|
void |
setLoggerLevel(int level,
java.lang.String loggerName)
It assigns a level to a logger.
|
void |
setLoggerLevel(java.lang.String levelName,
java.lang.String loggerName)
It assigns a level to a logger.
|
void |
setMonologProperties(java.util.Properties p)
Configure Monolog with properties.
|
void |
setResourceBundleName(java.lang.String resourceBundleName)
Accessors to a resource bundle name associated to a LoggerFactory.
|
boolean defineLevel(java.lang.String name, int value) throws java.rmi.RemoteException
name
- is the name of the new levelvalue
- is the integer value of the new leveljava.rmi.RemoteException
boolean defineLevel(java.lang.String name, java.lang.String value) throws java.rmi.RemoteException
name
- is the name of the new levelvalue
- is the string value of the new leveljava.rmi.RemoteException
void removeLevel(java.lang.String name) throws java.rmi.RemoteException
java.rmi.RemoteException
Level getLevel(java.lang.String name) throws java.rmi.RemoteException
name
- is the name of request Leveljava.rmi.RemoteException
Level getLevel(int value) throws java.rmi.RemoteException
value
- is the integer value of request Leveljava.rmi.RemoteException
Level[] getLevels() throws java.rmi.RemoteException
java.rmi.RemoteException
int compareTo(java.lang.String levelname1, java.lang.String levelname2) throws java.rmi.RemoteException
levelname1
- is the name of the first levellevelname2
- is the name of the second leveljava.rmi.RemoteException
boolean createHandler(java.lang.String hn, java.lang.String handlertype) throws java.rmi.RemoteException
hn
- is the name of the handler to createhandlertype
- is the type of the parameter. The possible value are
defined in this interface by the XXX_HANDLER_TYPE constants.java.rmi.RemoteException
boolean removeHandler(java.lang.String handlername) throws java.rmi.RemoteException
handlername
- is the name of the handlerjava.rmi.RemoteException
java.lang.String[] getHandlerNames() throws java.rmi.RemoteException
java.rmi.RemoteException
java.util.Map getHandlerAttributes(java.lang.String handlername) throws java.rmi.RemoteException
handlername
- is the name of the handlerjava.rmi.RemoteException
java.util.Map getAllHandlerAttributes() throws java.rmi.RemoteException
java.rmi.RemoteException
void setHandlerAttribute(java.lang.String handlername, java.lang.String attributeName, java.lang.String value) throws java.rmi.RemoteException
handlername
- is the name of the handlerattributeName
- is the name of the attributevalue
- is the new value of the attributejava.rmi.RemoteException
LoggerInfo getLogger(java.lang.String loggername) throws java.rmi.RemoteException
loggername
- is the name of the loggerjava.rmi.RemoteException
LoggerInfo getLogger(java.lang.String key, java.lang.String resourceBundleName) throws java.rmi.RemoteException
loggername
- is the name of the loggerresourceBundleName
- allows specifying the name of a
resource bundle in order to internationalise the logging.java.rmi.RemoteException
java.lang.String getResourceBundleName() throws java.rmi.RemoteException
java.rmi.RemoteException
void setResourceBundleName(java.lang.String resourceBundleName) throws java.rmi.RemoteException
java.rmi.RemoteException
LoggerInfo[] getLoggers() throws java.rmi.RemoteException
java.rmi.RemoteException
void addHandlerToLogger(java.lang.String handlerName, java.lang.String loggerName) throws java.rmi.RemoteException
java.rmi.RemoteException
void removeHandlerFromLogger(java.lang.String handlerName, java.lang.String loggerName) throws java.rmi.RemoteException
java.rmi.RemoteException
void removeAllHandlersFromLogger(java.lang.String loggerName) throws java.rmi.RemoteException
java.rmi.RemoteException
void setAdditivity(boolean a, java.lang.String loggerName) throws java.rmi.RemoteException
java.rmi.RemoteException
void setLoggerLevel(int level, java.lang.String loggerName) throws java.rmi.RemoteException
level
- is an int value corresponding to a levelloggerName
- is the name of logger which the level must be set.java.rmi.RemoteException
void setLoggerLevel(java.lang.String levelName, java.lang.String loggerName) throws java.rmi.RemoteException
level
- is a string value corresponding to a level defined into the
LevelFactoryloggerName
- is the name of logger which the level must be set.java.rmi.RemoteException
void addTopicToLogger(java.lang.String topic, java.lang.String loggerName) throws java.rmi.RemoteException
java.rmi.RemoteException
void removeTopicFromLogger(java.lang.String topic, java.lang.String loggerName) throws java.rmi.RemoteException
java.rmi.RemoteException
java.util.Properties getMonologProperties() throws java.rmi.RemoteException
java.rmi.RemoteException
void setMonologProperties(java.util.Properties p) throws java.rmi.RemoteException
java.rmi.RemoteException