Method Summary |
|
void | addHandlerToLogger(String handlerName, String loggerName) A TopicalLogger manages a list of Handler instances. |
void | addTopicToLogger(String topic, String loggerName) This method allows adding a topic to a TopicalLogger. |
int | compareTo(String levelname1, String levelname2) Compares two levels. |
boolean | createHandler(String hn, String handlertype) Creates a new handler
Parameters: hn - is the name of the handler to create Parameters: handlertype - is the type of the parameter. |
boolean | defineLevel(String name, int value) It defines a new Level with a name and an integer value. |
boolean | defineLevel(String name, String value) It defines a new Level with a name and a string value. |
Map | getAllHandlerAttributes() |
Map | getHandlerAttributes(String handlername) |
String[] | getHandlerNames() It retrieves name of all handler managed by this factory. |
Level | getLevel(String name) It retrieves a Level instance which the name is equals to the parameter. |
Level | getLevel(int value) It retrieves a Level instance which the integer value is equals to the
parameter.
Parameters: value - is the integer value of request Level a Leve instance or a null value if the level does not exist. |
Level[] | getLevels() It retrieves all Level instances defined in this manager. |
LoggerInfo | getLogger(String loggername) Creates a logger if it does not exist. |
LoggerInfo | getLogger(String key, String resourceBundleName) Creates a logger if it does not exist.
Parameters: loggername - is the name of the logger Parameters: resourceBundleName - allows specifying the name of a resource bundle in order to internationalise the logging. |
LoggerInfo[] | getLoggers() It retrieves a list of all loggers. |
Properties | getMonologProperties() Retrieves the properties corresponding to the current configuration. |
String | getResourceBundleName() Accessors to a resource bundle name associated to a LoggerFactory. |
void | removeAllHandlersFromLogger(String loggerName) A TopicalLogger manages a list of Handler instances. |
boolean | removeHandler(String handlername) |
void | removeHandlerFromLogger(String handlerName, String loggerName) A TopicalLogger manages a list of Handler instances. |
void | removeLevel(String name) It removes a Level instance to this manager. |
void | removeTopicFromLogger(String topic, String loggerName) This method allows removing a topic to a TopicalLogger. |
void | setAdditivity(boolean a, String loggerName) It assigns the additivity flag for this logger instance. |
void | setHandlerAttribute(String handlername, String attributeName, String value) Assignes a value to an handler attribute. |
void | setLoggerLevel(int level, String loggerName) It assigns a level to a logger. |
void | setLoggerLevel(String levelName, String loggerName) It assigns a level to a logger. |
void | setMonologProperties(Properties p) Configure Monolog with properties. |
void | setResourceBundleName(String resourceBundleName) Accessors to a resource bundle name associated to a LoggerFactory. |