public class DefaultLogger extends AbstractLogger
Constructor and Description |
---|
DefaultLogger(java.lang.String name)
Get an instance of DefaultLogger.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isDebugEnabled()
False.
|
boolean |
isInfoEnabled()
True.
|
void |
log(Level level,
java.lang.Object message,
java.lang.Throwable e)
Subclasses should implement this method to determine what to do when a
client wants to log at a particular level.
|
public DefaultLogger(java.lang.String name)
public boolean isDebugEnabled()
isDebugEnabled
in interface Logger
isDebugEnabled
in class AbstractLogger
public boolean isInfoEnabled()
isInfoEnabled
in interface Logger
isInfoEnabled
in class AbstractLogger
public void log(Level level, java.lang.Object message, java.lang.Throwable e)
AbstractLogger
log
in interface Logger
log
in class AbstractLogger
level
- the level to log at (see the fields of this class)message
- the message to loge
- the exception that caused the message (or null)AbstractLogger
Copyright © 2006-2009 Dustin Sallings, 2009-2012 Couchbase, Inc.