Constructor and Description |
---|
ALogger(play.api.Logger logger) |
Modifier and Type | Method and Description |
---|---|
void |
debug(org.slf4j.Marker marker,
String message)
Logs a message with the DEBUG level.
|
void |
debug(org.slf4j.Marker marker,
String message,
Object... args)
Logs a message with the DEBUG level.
|
void |
debug(org.slf4j.Marker marker,
String message,
Throwable error)
Logs a message with the DEBUG level, with the given error.
|
void |
debug(String message)
Logs a message with the DEBUG level.
|
void |
debug(String message,
Object... args)
Logs a message with the DEBUG level.
|
void |
debug(String message,
Supplier<?>... args)
Log a message with the DEBUG level.
|
void |
debug(String message,
Throwable error)
Logs a message with the DEBUG level, with the given error.
|
void |
debug(Supplier<String> msgSupplier)
Log a message with the DEBUG level.
|
void |
error(org.slf4j.Marker marker,
String message)
Log a message with the ERROR level.
|
void |
error(org.slf4j.Marker marker,
String message,
Object... args)
Log a message with the ERROR level.
|
void |
error(org.slf4j.Marker marker,
String message,
Throwable error)
Log a message with the ERROR level, with the given error.
|
void |
error(String message)
Log a message with the ERROR level.
|
void |
error(String message,
Object... args)
Log a message with the ERROR level.
|
void |
error(String message,
Supplier<?>... args)
Log a message with the ERROR level.
|
void |
error(String message,
Throwable error)
Log a message with the ERROR level, with the given error.
|
void |
error(Supplier<String> msgSupplier)
Log a message with the ERROR level.
|
void |
info(org.slf4j.Marker marker,
String message)
Logs a message with the INFO level.
|
void |
info(org.slf4j.Marker marker,
String message,
Object... args)
Logs a message with the INFO level.
|
void |
info(org.slf4j.Marker marker,
String message,
Throwable error)
Logs a message with the INFO level, with the given error.
|
void |
info(String message)
Logs a message with the INFO level.
|
void |
info(String message,
Object... args)
Logs a message with the INFO level.
|
void |
info(String message,
Supplier<?>... args)
Log a message with the INFO level.
|
void |
info(String message,
Throwable error)
Logs a message with the INFO level, with the given error.
|
void |
info(Supplier<String> msgSupplier)
Log a message with the INFO level.
|
boolean |
isDebugEnabled()
Returns
true if the logger instance has DEBUG level logging enabled. |
boolean |
isDebugEnabled(org.slf4j.Marker marker)
Similar to
isDebugEnabled() method except that the marker data is also taken into
account. |
boolean |
isErrorEnabled()
Returns
true if the logger instance has ERROR level logging enabled. |
boolean |
isErrorEnabled(org.slf4j.Marker marker)
Similar to
isErrorEnabled() method except that the marker data is also taken into
consideration. |
boolean |
isInfoEnabled()
Returns
true if the logger instance has INFO level logging enabled. |
boolean |
isInfoEnabled(org.slf4j.Marker marker)
Similar to
isInfoEnabled() method except that the marker data is also taken into
consideration. |
boolean |
isTraceEnabled()
Returns
true if the logger instance has TRACE level logging enabled. |
boolean |
isTraceEnabled(org.slf4j.Marker marker)
Similar to
isTraceEnabled() method except that the marker data is also taken into
account. |
boolean |
isWarnEnabled()
Returns
true if the logger instance has WARN level logging enabled. |
boolean |
isWarnEnabled(org.slf4j.Marker marker)
Similar to
isWarnEnabled() method except that the marker data is also taken into
consideration. |
void |
trace(org.slf4j.Marker marker,
String message)
Logs a message with the TRACE level.
|
void |
trace(org.slf4j.Marker marker,
String message,
Object... args)
This method is similar to
trace(String, Object...) method except that the marker
data is also taken into consideration. |
void |
trace(org.slf4j.Marker marker,
String message,
Throwable error)
Logs a message with the TRACE level, with the given error.
|
void |
trace(String message)
Logs a message with the TRACE level.
|
void |
trace(String message,
Object... args)
Logs a message with the TRACE level.
|
void |
trace(String message,
Supplier<?>... args)
Log a message with the TRACE level.
|
void |
trace(String message,
Throwable error)
Logs a message with the TRACE level, with the given error.
|
void |
trace(Supplier<String> msgSupplier)
Log a message with the TRACE level.
|
org.slf4j.Logger |
underlying()
Get the underlying SLF4J logger.
|
void |
warn(org.slf4j.Marker marker,
String message)
Log a message with the WARN level.
|
void |
warn(org.slf4j.Marker marker,
String message,
Object... args)
Log a message with the WARN level.
|
void |
warn(org.slf4j.Marker marker,
String message,
Throwable error)
Log a message with the WARN level, with the given error.
|
void |
warn(String message)
Log a message with the WARN level.
|
void |
warn(String message,
Object... args)
Log a message with the WARN level.
|
void |
warn(String message,
Supplier<?>... args)
Log a message with the WARN level.
|
void |
warn(String message,
Throwable error)
Log a message with the WARN level, with the given error.
|
void |
warn(Supplier<String> msgSupplier)
Log a message with the WARN level.
|
public org.slf4j.Logger underlying()
public boolean isTraceEnabled()
true
if the logger instance has TRACE level logging enabled.true
if the logger instance has TRACE level logging enabled.public boolean isTraceEnabled(org.slf4j.Marker marker)
isTraceEnabled()
method except that the marker data is also taken into
account.marker
- The marker data to take into considerationpublic boolean isDebugEnabled()
true
if the logger instance has DEBUG level logging enabled.true
if the logger instance has DEBUG level logging enabled.public boolean isDebugEnabled(org.slf4j.Marker marker)
isDebugEnabled()
method except that the marker data is also taken into
account.marker
- The marker data to take into considerationpublic boolean isInfoEnabled()
true
if the logger instance has INFO level logging enabled.true
if the logger instance has INFO level logging enabled.public boolean isInfoEnabled(org.slf4j.Marker marker)
isInfoEnabled()
method except that the marker data is also taken into
consideration.marker
- The marker data to take into considerationpublic boolean isWarnEnabled()
true
if the logger instance has WARN level logging enabled.true
if the logger instance has WARN level logging enabled.public boolean isWarnEnabled(org.slf4j.Marker marker)
isWarnEnabled()
method except that the marker data is also taken into
consideration.marker
- The marker data to take into considerationpublic boolean isErrorEnabled()
true
if the logger instance has ERROR level logging enabled.true
if the logger instance has ERROR level logging enabled.public boolean isErrorEnabled(org.slf4j.Marker marker)
isErrorEnabled()
method except that the marker data is also taken into
consideration.marker
- The marker data to take into considerationpublic void trace(String message)
message
- message to logpublic void trace(Supplier<String> msgSupplier)
msgSupplier
- Supplier
that contains message to logpublic void trace(org.slf4j.Marker marker, String message)
marker
- the marker data specific to this log statementmessage
- message to logpublic void trace(String message, Object... args)
message
- message to logargs
- The arguments to apply to the message stringpublic void trace(String message, Supplier<?>... args)
message
- message to logargs
- Suppliers that contain arguments to apply to the message Stringpublic void trace(org.slf4j.Marker marker, String message, Object... args)
trace(String, Object...)
method except that the marker
data is also taken into consideration.marker
- the marker data specific to this log statementmessage
- message to logargs
- The arguments to apply to the message stringpublic void trace(String message, Throwable error)
message
- message to logerror
- associated exceptionpublic void trace(org.slf4j.Marker marker, String message, Throwable error)
marker
- the marker data specific to this log statementmessage
- message to logerror
- associated exceptionpublic void debug(String message)
message
- Message to logpublic void debug(Supplier<String> msgSupplier)
msgSupplier
- Supplier
that contains message to logpublic void debug(org.slf4j.Marker marker, String message)
marker
- the marker data specific to this log statementmessage
- Message to logpublic void debug(String message, Object... args)
message
- Message to logargs
- The arguments to apply to the message stringpublic void debug(String message, Supplier<?>... args)
message
- message to logargs
- Suppliers that contain arguments to apply to the message Stringpublic void debug(org.slf4j.Marker marker, String message, Object... args)
marker
- the marker data specific to this log statementmessage
- Message to logargs
- The arguments to apply to the message stringpublic void debug(String message, Throwable error)
message
- Message to logerror
- associated exceptionpublic void debug(org.slf4j.Marker marker, String message, Throwable error)
marker
- the marker data specific to this log statementmessage
- Message to logerror
- associated exceptionpublic void info(String message)
message
- message to logpublic void info(Supplier<String> msgSupplier)
msgSupplier
- Supplier
that contains message to logpublic void info(org.slf4j.Marker marker, String message)
marker
- the marker data specific to this log statementmessage
- message to logpublic void info(String message, Object... args)
message
- message to logargs
- The arguments to apply to the message stringpublic void info(String message, Supplier<?>... args)
message
- message to logargs
- Suppliers that contain arguments to apply to the message Stringpublic void info(org.slf4j.Marker marker, String message, Object... args)
marker
- the marker data specific to this log statementmessage
- message to logargs
- The arguments to apply to the message stringpublic void info(String message, Throwable error)
message
- message to logerror
- associated exceptionpublic void info(org.slf4j.Marker marker, String message, Throwable error)
marker
- the marker data specific to this log statementmessage
- message to logerror
- associated exceptionpublic void warn(String message)
message
- message to logpublic void warn(Supplier<String> msgSupplier)
msgSupplier
- Supplier
that contains message to logpublic void warn(org.slf4j.Marker marker, String message)
marker
- the marker data specific to this log statementmessage
- message to logpublic void warn(String message, Object... args)
message
- message to logargs
- The arguments to apply to the message stringpublic void warn(String message, Supplier<?>... args)
message
- message to logargs
- Suppliers that contain arguments to apply to the message Stringpublic void warn(org.slf4j.Marker marker, String message, Object... args)
marker
- the marker data specific to this log statementmessage
- message to logargs
- The arguments to apply to the message stringpublic void warn(String message, Throwable error)
message
- message to logerror
- associated exceptionpublic void warn(org.slf4j.Marker marker, String message, Throwable error)
marker
- the marker data specific to this log statementmessage
- message to logerror
- associated exceptionpublic void error(String message)
message
- message to logpublic void error(Supplier<String> msgSupplier)
msgSupplier
- Supplier
that contains message to logpublic void error(org.slf4j.Marker marker, String message)
marker
- the marker data specific to this log statementmessage
- message to logpublic void error(String message, Object... args)
message
- message to logargs
- The arguments to apply to the message stringpublic void error(String message, Supplier<?>... args)
message
- message to logargs
- Suppliers that contain arguments to apply to the message Stringpublic void error(org.slf4j.Marker marker, String message, Object... args)
marker
- the marker data specific to this log statementmessage
- message to logargs
- The arguments to apply to the message stringpublic void error(String message, Throwable error)
message
- message to logerror
- associated exception