|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object play.Logger.ALogger
public static class Logger.ALogger
Typical logger interface
Constructor Summary | |
---|---|
Logger.ALogger(play.api.Logger logger)
|
Method Summary | |
---|---|
void |
debug(java.lang.String message)
Logs a message with the DEBUG level. |
void |
debug(java.lang.String message,
java.lang.Throwable error)
Logs a message with the DEBUG level, with the given error. |
void |
error(java.lang.String message)
Log a message with the ERROR level. |
void |
error(java.lang.String message,
java.lang.Throwable error)
Log a message with the ERROR level, with the given error. |
void |
info(java.lang.String message)
Logs a message with the INFO level. |
void |
info(java.lang.String message,
java.lang.Throwable error)
Logs a message with the INFO level, with the given error. |
boolean |
isDebugEnabled()
Returns true if the logger instance has DEBUG level logging enabled. |
boolean |
isErrorEnabled()
Returns true if the logger instance has ERROR level logging enabled. |
boolean |
isInfoEnabled()
Returns true if the logger instance has INFO level logging enabled. |
boolean |
isTraceEnabled()
Returns true if the logger instance has TRACE level logging enabled. |
boolean |
isWarnEnabled()
Returns true if the logger instance has WARN level logging enabled. |
void |
trace(java.lang.String message)
Logs a message with the TRACE level. |
void |
trace(java.lang.String message,
java.lang.Throwable error)
Logs a message with the TRACE level, with the given error. |
void |
warn(java.lang.String message)
Log a message with the WARN level. |
void |
warn(java.lang.String message,
java.lang.Throwable error)
Log a message with the WARN level, with the given error. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Logger.ALogger(play.api.Logger logger)
Method Detail |
---|
public boolean isTraceEnabled()
true
if the logger instance has TRACE level logging enabled.
public boolean isDebugEnabled()
true
if the logger instance has DEBUG level logging enabled.
public boolean isInfoEnabled()
true
if the logger instance has INFO level logging enabled.
public boolean isWarnEnabled()
true
if the logger instance has WARN level logging enabled.
public boolean isErrorEnabled()
true
if the logger instance has ERROR level logging enabled.
public void trace(java.lang.String message)
message
- message to logpublic void trace(java.lang.String message, java.lang.Throwable error)
message
- message to logerror
- associated exceptionpublic void debug(java.lang.String message)
message
- Message to logpublic void debug(java.lang.String message, java.lang.Throwable error)
message
- Message to logerror
- associated exceptionpublic void info(java.lang.String message)
message
- message to logpublic void info(java.lang.String message, java.lang.Throwable error)
message
- message to logerror
- associated exceptionpublic void warn(java.lang.String message)
message
- message to logpublic void warn(java.lang.String message, java.lang.Throwable error)
message
- message to logerror
- associated exceptionpublic void error(java.lang.String message)
message
- message to logpublic void error(java.lang.String message, java.lang.Throwable error)
message
- message to logerror
- associated exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |