|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.wraplog.AbstractLogger net.sf.wraplog.NoneLogger
public class NoneLogger
A Logger that does not log anywhere. This is a useful a an internal default for libraries before the client applications sets a logger.
Updated to WrapLog version 1.1.
Constructor Summary | |
---|---|
NoneLogger()
|
Method Summary | |
---|---|
protected void |
reallyLog(int logLevel,
java.lang.String message,
java.lang.Throwable error)
Does nothing. |
Methods inherited from class net.sf.wraplog.AbstractLogger |
---|
checkLevel, debug, debug, error, error, getLevel, getLoggedMessageCount, info, info, isDebugEnabled, isEnabled, isErrorEnabled, isInfoEnabled, isWarnEnabled, log, log, setLevel, warn, warn |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NoneLogger()
Method Detail |
---|
protected void reallyLog(int logLevel, java.lang.String message, java.lang.Throwable error)
reallyLog
in class AbstractLogger
logLevel
- one of: Level.DEBUG, Level.INFO, Level.WARN, Level.ERRORmessage
- the actual message; this will never be null
error
- an error that is related to the message; unless null
, the name and stack trace of the error are loggedAbstractLogger.reallyLog(int, java.lang.String,
java.lang.Throwable)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |