|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.acelogger.EmptyLogger
public final class EmptyLogger
An implementation of Logger
that does nothing.
Constructor Summary | |
---|---|
EmptyLogger(String identifier)
Constructs a EmptyLogger using the supplied identifier. |
Method Summary | |
---|---|
void |
debug(String message,
Object... params)
Creates a debug level log message, the final message will depend on the underlying Formatter and parameters. |
void |
debug(String message,
Throwable cause,
Object... params)
Creates a debug level log message, the final message will depend on the underlying Formatter and parameters. |
void |
error(String message,
Object... params)
Creates a error level log message, the final message will depend on the underlying Formatter and parameters. |
void |
error(String message,
Throwable cause,
Object... params)
Creates a error level log message, the final message will depend on the underlying Formatter and parameters. |
void |
fatal(String message,
Object... params)
Creates a fatal level log message, the final message will depend on the underlying Formatter and parameters. |
void |
fatal(String message,
Throwable cause,
Object... params)
Creates a fatal level log message, the final message will depend on the underlying Formatter and parameters. |
String |
getIdentifier()
Gets a String that identifies this object. |
void |
info(String message,
Object... params)
Creates a information level log message, the final message will depend on the underlying Formatter. |
void |
info(String message,
Throwable cause,
Object... params)
Creates a information level log message, the final message will depend on the underlying Formatter. |
boolean |
isDebugEnabled()
Checks the suitability of the debug level for this Logger. |
boolean |
isErrorEnabled()
Checks the suitability of the error level for this Logger. |
boolean |
isFatalEnabled()
Checks the suitability of the fatal level for this Logger. |
boolean |
isInfoEnabled()
Checks the suitability of the information level for this Logger. |
boolean |
isTraceEnabled()
Checks the suitability of the tracing level for this Logger. |
boolean |
isWarnEnabled()
Checks the suitability of the warning level for this Logger. |
void |
trace(String message,
Object... params)
Creates a tracing level log message, the final message will depend on the underlying Formatter. |
void |
trace(String message,
Throwable cause,
Object... params)
Creates a tracing level log message, the final message will depend on the underlying Formatter. |
void |
warn(String message,
Object... params)
Creates a warning level log message, the final message will depend on the underlying Formatter. |
void |
warn(String message,
Throwable cause,
Object... params)
Creates a warning level log message, the final message will depend on the underlying Formatter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EmptyLogger(String identifier)
identifier
- The identifier of this logger.Method Detail |
---|
public String getIdentifier()
getIdentifier
in interface Identifiable
public boolean isDebugEnabled()
isDebugEnabled
in interface Logger
public boolean isErrorEnabled()
isErrorEnabled
in interface Logger
public boolean isFatalEnabled()
isFatalEnabled
in interface Logger
public boolean isInfoEnabled()
isInfoEnabled
in interface Logger
public boolean isTraceEnabled()
isTraceEnabled
in interface Logger
public boolean isWarnEnabled()
isWarnEnabled
in interface Logger
public void debug(String message, Object... params)
debug
in interface Logger
message
- The message to be formatted and then logged.params
- The list of parameter used to format the message.public void debug(String message, Throwable cause, Object... params)
debug
in interface Logger
message
- The message to be formatted and then logged.cause
- The Throwable that originated this log call.params
- The list of parameter used to format the message.public void error(String message, Object... params)
error
in interface Logger
message
- The message to be formatted and then logged.params
- The list of parameter used to format the message.public void error(String message, Throwable cause, Object... params)
error
in interface Logger
message
- The message to be formatted and then logged.cause
- The Throwable that originated this log call.params
- The list of parameter used to format the message.public void fatal(String message, Object... params)
fatal
in interface Logger
message
- The message to be formatted and then logged.params
- The list of parameter used to format the message.public void fatal(String message, Throwable cause, Object... params)
fatal
in interface Logger
message
- The message to be formatted and then logged.cause
- The Throwable that originated this log call.params
- The list of parameter used to format the message.public void info(String message, Object... params)
info
in interface Logger
message
- The message to be formatted and then logged.params
- The list of parameter used to format the message.public void info(String message, Throwable cause, Object... params)
info
in interface Logger
message
- The message to be formatted and then logged.cause
- The Throwable that originated this log call.params
- The list of parameter used to format the message.public void trace(String message, Object... params)
trace
in interface Logger
message
- The message to be formatted and then logged.params
- The list of parameter used to format the message.public void trace(String message, Throwable cause, Object... params)
trace
in interface Logger
message
- The message to be formatted and then logged.cause
- The Throwable that originated this log call.params
- The list of parameter used to format the message.public void warn(String message, Object... params)
warn
in interface Logger
message
- The message to be formatted and then logged.params
- The list of parameter used to format the message.public void warn(String message, Throwable cause, Object... params)
warn
in interface Logger
message
- The message to be formatted and then logged.cause
- The Throwable that originated this log call.params
- The list of parameter used to format the message.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |