| org.geotools.util.logging.LoggerAdapter org.geotools.util.logging.CommonsLogger
CommonsLogger | final class CommonsLogger extends LoggerAdapter (Code) | | An adapter that redirect all Java logging events to the Apache's
Commons-logging framework.
since: 2.4 version: $Id: CommonsLogger.java 27891 2007-11-14 14:10:48Z desruisseaux $ author: Martin Desruisseaux author: Saul Farber See Also: CommonsLoggerFactory See Also: Logging |
Field Summary | |
final Log | logger The Apache logger to use. |
logger | final Log logger(Code) | | The Apache logger to use.
|
CommonsLogger | public CommonsLogger(String name, Log logger)(Code) | | Creates a new logger.
Parameters: name - The logger name. Parameters: logger - The result of LogFactory.getLog(name) . |
getLevel | public Level getLevel()(Code) | | Returns the level for this logger.
|
isLoggable | public boolean isLoggable(Level level)(Code) | | Returns
true if the specified level is loggable.
|
setLevel | public void setLevel(Level level)(Code) | | Do nothing since Commons-Logging doesn't support programmatic change of logging level.
|
Methods inherited from org.geotools.util.logging.LoggerAdapter | public void addHandler(Handler handler)(Code)(Java Doc) abstract public void config(String message)(Code)(Java Doc) public void entering(String sourceClass, String sourceMethod)(Code)(Java Doc) public void entering(String sourceClass, String sourceMethod, Object param)(Code)(Java Doc) public void entering(String sourceClass, String sourceMethod, Object[] params)(Code)(Java Doc) public void exiting(String sourceClass, String sourceMethod)(Code)(Java Doc) public void exiting(String sourceClass, String sourceMethod, Object result)(Code)(Java Doc) abstract public void fine(String message)(Code)(Java Doc) abstract public void finer(String message)(Code)(Java Doc) abstract public void finest(String message)(Code)(Java Doc) protected Level getDebugLevel()(Code)(Java Doc) abstract public Level getLevel()(Code)(Java Doc) abstract public void info(String message)(Code)(Java Doc) abstract public boolean isLoggable(Level level)(Code)(Java Doc) public void log(LogRecord record)(Code)(Java Doc) public void log(Level level, String message)(Code)(Java Doc) public void log(Level level, String message, Throwable thrown)(Code)(Java Doc) public void log(Level level, String message, Object param)(Code)(Java Doc) public void log(Level level, String message, Object[] params)(Code)(Java Doc) public void logp(Level level, String sourceClass, String sourceMethod, String message)(Code)(Java Doc) public void logp(Level level, String sourceClass, String sourceMethod, String message, Throwable thrown)(Code)(Java Doc) public void logp(Level level, String sourceClass, String sourceMethod, String message, Object param)(Code)(Java Doc) public void logp(Level level, String sourceClass, String sourceMethod, String message, Object[] params)(Code)(Java Doc) public void logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String message)(Code)(Java Doc) public void logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String message, Throwable thrown)(Code)(Java Doc) public void logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String message, Object param)(Code)(Java Doc) public void logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String message, Object[] params)(Code)(Java Doc) public void removeHandler(Handler handler)(Code)(Java Doc) public void setFilter(Filter filter)(Code)(Java Doc) abstract public void setLevel(Level level)(Code)(Java Doc) public void setParent(Logger parent)(Code)(Java Doc) public void setUseParentHandlers(boolean useParentHandlers)(Code)(Java Doc) abstract public void severe(String message)(Code)(Java Doc) public void throwing(String sourceClass, String sourceMethod, Throwable thrown)(Code)(Java Doc) abstract public void warning(String message)(Code)(Java Doc)
|
|
|