|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Logger
A logging interface that provides the methods needed to manage log calls, abstracting the configuration to the framework.
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. |
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 interface net.sourceforge.acelogger.Identifiable |
---|
getIdentifier |
Method Detail |
---|
boolean isTraceEnabled()
boolean isDebugEnabled()
boolean isInfoEnabled()
boolean isWarnEnabled()
boolean isErrorEnabled()
boolean isFatalEnabled()
void trace(String message, Object... params)
message
- The message to be formatted and then logged.params
- The list of parameter used to format the message.void trace(String message, Throwable cause, Object... params)
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.void debug(String message, Object... params)
message
- The message to be formatted and then logged.params
- The list of parameter used to format the message.void debug(String message, Throwable cause, Object... params)
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.void info(String message, Object... params)
message
- The message to be formatted and then logged.params
- The list of parameter used to format the message.void info(String message, Throwable cause, Object... params)
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.void warn(String message, Object... params)
message
- The message to be formatted and then logged.params
- The list of parameter used to format the message.void warn(String message, Throwable cause, Object... params)
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.void error(String message, Object... params)
message
- The message to be formatted and then logged.params
- The list of parameter used to format the message.void error(String message, Throwable cause, Object... params)
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.void fatal(String message, Object... params)
message
- The message to be formatted and then logged.params
- The list of parameter used to format the message.void fatal(String message, Throwable cause, Object... params)
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 | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |