public class NullLogger extends AbstractLogger
Clients may instantiate or subclass this class.
Constructor and Description |
---|
NullLogger() |
Modifier and Type | Method and Description |
---|---|
protected void |
log(Level level,
Object message,
Throwable error)
This implementation does nothing.
|
protected void log(Level level, Object message, Throwable error)
log
in class AbstractLogger
level
- the log level (known to be loggable).message
- the information to log (usually a String
), maybe null
.error
- an exception to log, maybe null
.AbstractLogger.log(Level, Object, Throwable)