| java.lang.Object org.objectweb.util.monolog.wrapper.config.BasicLogger
BasicLogger | public class BasicLogger implements TopicalLogger,Serializable(Code) | | This class is a basic implementatio of the TopicalLogger interface. It is not
linked to any underlying log system. The log methods do nothing. Only the
configuration aspect is treated. Therefore all the logger structure is
stored into internal struture.
author: Sebastien Chassande-Barrioz |
Method Summary | |
public void | addHandler(Handler h) | public void | addTopic(String topic) | public boolean | getAdditivity() | public Object | getAttribute(String name) | public String[] | getAttributeNames() | public int | getCurrentIntLevel() | public Level | getCurrentLevel() | public Handler[] | getHandler() | public Handler | getHandler(String hn) | public String | getName() | public String[] | getTopic() | public Enumeration | getTopics() | public String | getType() | public boolean | isLoggable(int level) | public boolean | isLoggable(Level l) | public boolean | isOn() | public void | log(int level, Object message) | public void | log(Level level, Object message) | public void | log(int level, Object message, Throwable throwable) | public void | log(Level level, Object message, Throwable throwable) | public void | log(int level, Object message, Object location, Object method) | public void | log(Level l, Object message, Object location, Object method) | public void | log(int level, Object message, Throwable throwable, Object location, Object method) | public void | log(Level level, Object message, Throwable throwable, Object location, Object method) | public void | removeAllHandlers() | public void | removeHandler(Handler h) | public void | removeTopic(String topic) | public void | setAdditivity(boolean a) | public Object | setAttribute(String name, Object value) | public void | setIntLevel(int l) | public void | setLevel(Level l) | public void | setName(String name) | public void | turnOff() | public void | turnOn() |
additivity | boolean additivity(Code) | | |
handlers | protected HashMap handlers(Code) | | This fields references by their name the handlers associated to the
logger.
key = a handler name
value = a Handler instance
|
level | protected Level level(Code) | | The current level of the logger.
|
levelFactory | protected LevelFactory levelFactory(Code) | | This field references the level factory.
|
topics | protected ArrayList topics(Code) | | The fields lists all topics the logger.
|
getAdditivity | public boolean getAdditivity()(Code) | | |
getCurrentIntLevel | public int getCurrentIntLevel()(Code) | | |
isLoggable | public boolean isLoggable(int level)(Code) | | |
isOn | public boolean isOn()(Code) | | |
setAdditivity | public void setAdditivity(boolean a)(Code) | | |
setIntLevel | public void setIntLevel(int l)(Code) | | |
turnOff | public void turnOff()(Code) | | |
turnOn | public void turnOn()(Code) | | |
|
|