Package com.sodius.mdw.core.util.log
Class NullLogger
- java.lang.Object
-
- com.sodius.mdw.core.util.log.AbstractLogger
-
- com.sodius.mdw.core.util.log.NullLogger
-
- All Implemented Interfaces:
Logger
public class NullLogger extends AbstractLogger
A default logger implementation that ignores all log entries.Clients may instantiate or subclass this class.
- Since:
- 3.5.5
-
-
Constructor Summary
Constructors Constructor Description NullLogger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidlog(Level level, Object message, Throwable error)This implementation does nothing.
-
-
-
Method Detail
-
log
protected void log(Level level, Object message, Throwable error)
This implementation does nothing.- Specified by:
login classAbstractLogger- Parameters:
level- the log level (known to be loggable).message- the information to log (usually aString), maybenull.error- an exception to log, maybenull.- See Also:
AbstractLogger.log(Level, Object, Throwable)
-
-