class Logger extends LoggerLike
- Alphabetic
- By Inheritance
- Logger
- LoggerLike
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Logger(logger: org.slf4j.Logger)
Value Members
-
def
debug(message: ⇒ String, error: ⇒ Throwable)(implicit mc: MarkerContext): Unit
Logs a message with the
DEBUG
level.Logs a message with the
DEBUG
level.- message
the message to log
- error
the associated exception
- mc
the implicit marker context, if defined.
- Definition Classes
- LoggerLike
-
def
debug(message: ⇒ String)(implicit mc: MarkerContext): Unit
Logs a message with the
DEBUG
level.Logs a message with the
DEBUG
level.- message
the message to log
- mc
the implicit marker context, if defined.
- Definition Classes
- LoggerLike
-
def
enabled: Boolean
- Definition Classes
- Logger → LoggerLike
- Annotations
- @inline()
-
def
error(message: ⇒ String, error: ⇒ Throwable)(implicit mc: MarkerContext): Unit
Logs a message with the
ERROR
level.Logs a message with the
ERROR
level.- message
the message to log
- error
the associated exception
- mc
the implicit marker context, if defined.
- Definition Classes
- LoggerLike
-
def
error(message: ⇒ String)(implicit mc: MarkerContext): Unit
Logs a message with the
ERROR
level.Logs a message with the
ERROR
level.- message
the message to log
- mc
the implicit marker context, if defined.
- Definition Classes
- LoggerLike
-
def
forMode(mode: Mode*): Logger
Get a logger that only works when the application is in the given mode(s).
Get a logger that only works when the application is in the given mode(s).
If the global application mode has not been set (by calling Logger.setApplicationMode), this has no effect.
-
def
info(message: ⇒ String, error: ⇒ Throwable)(implicit mc: MarkerContext): Unit
Logs a message with the
INFO
level.Logs a message with the
INFO
level.- message
the message to log
- error
the associated exception
- mc
the implicit marker context, if defined.
- Definition Classes
- LoggerLike
-
def
info(message: ⇒ String)(implicit mc: MarkerContext): Unit
Logs a message with the
INFO
level.Logs a message with the
INFO
level.- message
the message to log
- mc
the implicit marker context, if defined.
- Definition Classes
- LoggerLike
-
def
isDebugEnabled(implicit mc: MarkerContext): Boolean
true
if the logger instance is enabled for theDEBUG
level.true
if the logger instance is enabled for theDEBUG
level.- Definition Classes
- LoggerLike
-
def
isErrorEnabled(implicit mc: MarkerContext): Boolean
true
if the logger instance is enabled for theERROR
level.true
if the logger instance is enabled for theERROR
level.- Definition Classes
- LoggerLike
-
def
isInfoEnabled(implicit mc: MarkerContext): Boolean
true
if the logger instance is enabled for theINFO
level.true
if the logger instance is enabled for theINFO
level.- Definition Classes
- LoggerLike
-
def
isTraceEnabled(implicit mc: MarkerContext): Boolean
true
if the logger instance is enabled for theTRACE
level.true
if the logger instance is enabled for theTRACE
level.- Definition Classes
- LoggerLike
-
def
isWarnEnabled(implicit mc: MarkerContext): Boolean
true
if the logger instance is enabled for theWARN
level.true
if the logger instance is enabled for theWARN
level.- Definition Classes
- LoggerLike
-
val
logger: org.slf4j.Logger
The underlying SLF4J Logger.
The underlying SLF4J Logger.
- Definition Classes
- Logger → LoggerLike
-
def
trace(message: ⇒ String, error: ⇒ Throwable)(implicit mc: MarkerContext): Unit
Logs a message with the
TRACE
level.Logs a message with the
TRACE
level.- message
the message to log
- error
the associated exception
- mc
the implicit marker context, if defined.
- Definition Classes
- LoggerLike
-
def
trace(message: ⇒ String)(implicit mc: MarkerContext): Unit
Logs a message with the
TRACE
level.Logs a message with the
TRACE
level.- message
the message to log
- mc
the implicit marker context, if defined.
- Definition Classes
- LoggerLike
-
lazy val
underlyingLogger: org.slf4j.Logger
The underlying SLF4J Logger.
The underlying SLF4J Logger.
- Definition Classes
- LoggerLike
-
def
warn(message: ⇒ String, error: ⇒ Throwable)(implicit mc: MarkerContext): Unit
Logs a message with the
WARN
level.Logs a message with the
WARN
level.- message
the message to log
- error
the associated exception
- mc
the implicit marker context, if defined.
- Definition Classes
- LoggerLike
-
def
warn(message: ⇒ String)(implicit mc: MarkerContext): Unit
Logs a message with the
WARN
level.Logs a message with the
WARN
level.- message
the message to log
- mc
the implicit marker context, if defined.
- Definition Classes
- LoggerLike