trait LoggerLike extends AnyRef
- Alphabetic
- By Inheritance
- LoggerLike
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def logger: org.slf4j.Logger
The underlying SLF4J Logger.
Concrete 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.
- 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.
- def enabled: Boolean
- 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.
- 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.
- 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.
- 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.
- def isDebugEnabled(implicit mc: MarkerContext): Boolean
true
if the logger instance is enabled for theDEBUG
level. - def isErrorEnabled(implicit mc: MarkerContext): Boolean
true
if the logger instance is enabled for theERROR
level. - def isInfoEnabled(implicit mc: MarkerContext): Boolean
true
if the logger instance is enabled for theINFO
level. - def isTraceEnabled(implicit mc: MarkerContext): Boolean
true
if the logger instance is enabled for theTRACE
level. - def isWarnEnabled(implicit mc: MarkerContext): Boolean
true
if the logger instance is enabled for theWARN
level. - 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.
- 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.
- lazy val underlyingLogger: org.slf4j.Logger
The underlying SLF4J Logger.
- 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.
- 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.
Typical logger interface.