| org.geotools.util.logging.LoggerAdapter org.geotools.util.logging.Log4JLogger
Log4JLogger | final class Log4JLogger extends LoggerAdapter (Code) | | An adapter that redirect all Java logging events to the Apache's
Log4J framework.
since: 2.4 version: $Id: Log4JLogger.java 27891 2007-11-14 14:10:48Z desruisseaux $ author: Martin Desruisseaux author: Saul Farber See Also: Log4JLoggerFactory See Also: Logging |
Field Summary | |
final org.apache.log4j.Logger | logger The Log4J logger to use. |
Constructor Summary | |
public | Log4JLogger(String name, org.apache.log4j.Logger logger) Creates a new logger. |
logger | final org.apache.log4j.Logger logger(Code) | | The Log4J logger to use.
|
Log4JLogger | public Log4JLogger(String name, org.apache.log4j.Logger logger)(Code) | | Creates a new logger.
Parameters: name - The logger name. Parameters: logger - The result of Logger.getLogger(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.
|
log | public void log(Level level, String message)(Code) | | Logs a record at the specified level.
|
setLevel | public void setLevel(Level level)(Code) | | Set the level for this logger.
|
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)
|
|
|