t

play.api

LoggerLike

trait LoggerLike extends AnyRef

Typical logger interface.

Source
Logger.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LoggerLike
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def logger: org.slf4j.Logger

    The underlying SLF4J Logger.

Concrete Value Members

  1. 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.

  2. 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.

  3. def enabled: Boolean
    Annotations
    @inline()
  4. 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.

  5. 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.

  6. 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.

  7. 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.

  8. def isDebugEnabled(implicit mc: MarkerContext): Boolean

    true if the logger instance is enabled for the DEBUG level.

  9. def isErrorEnabled(implicit mc: MarkerContext): Boolean

    true if the logger instance is enabled for the ERROR level.

  10. def isInfoEnabled(implicit mc: MarkerContext): Boolean

    true if the logger instance is enabled for the INFO level.

  11. def isTraceEnabled(implicit mc: MarkerContext): Boolean

    true if the logger instance is enabled for the TRACE level.

  12. def isWarnEnabled(implicit mc: MarkerContext): Boolean

    true if the logger instance is enabled for the WARN level.

  13. 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.

  14. 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.

  15. lazy val underlyingLogger: org.slf4j.Logger

    The underlying SLF4J Logger.

  16. 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.

  17. 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.