Class/Object

play.api

Logger

Related Docs: object Logger | package api

Permalink

class Logger extends LoggerLike

A Play logger.

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

Instance Constructors

  1. new Logger(logger: org.slf4j.Logger)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def debug(message: ⇒ String, error: ⇒ Throwable)(implicit mc: MarkerContext): Unit

    Permalink

    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
  7. def debug(message: ⇒ String)(implicit mc: MarkerContext): Unit

    Permalink

    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
  8. def enabled: Boolean

    Permalink
    Definition Classes
    LoggerLoggerLike
    Annotations
    @inline()
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def error(message: ⇒ String, error: ⇒ Throwable)(implicit mc: MarkerContext): Unit

    Permalink

    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
  12. def error(message: ⇒ String)(implicit mc: MarkerContext): Unit

    Permalink

    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
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def forMode(mode: Mode*): Logger

    Permalink

    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.

  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. def info(message: ⇒ String, error: ⇒ Throwable)(implicit mc: MarkerContext): Unit

    Permalink

    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
  18. def info(message: ⇒ String)(implicit mc: MarkerContext): Unit

    Permalink

    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
  19. def isDebugEnabled(implicit mc: MarkerContext): Boolean

    Permalink

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

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

    Definition Classes
    LoggerLike
  20. def isErrorEnabled(implicit mc: MarkerContext): Boolean

    Permalink

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

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

    Definition Classes
    LoggerLike
  21. def isInfoEnabled(implicit mc: MarkerContext): Boolean

    Permalink

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

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

    Definition Classes
    LoggerLike
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. def isTraceEnabled(implicit mc: MarkerContext): Boolean

    Permalink

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

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

    Definition Classes
    LoggerLike
  24. def isWarnEnabled(implicit mc: MarkerContext): Boolean

    Permalink

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

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

    Definition Classes
    LoggerLike
  25. val logger: org.slf4j.Logger

    Permalink

    the underlying SL4FJ logger

    the underlying SL4FJ logger

    Definition Classes
    LoggerLoggerLike
  26. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  31. def trace(message: ⇒ String, error: ⇒ Throwable)(implicit mc: MarkerContext): Unit

    Permalink

    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
  32. def trace(message: ⇒ String)(implicit mc: MarkerContext): Unit

    Permalink

    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
  33. lazy val underlyingLogger: org.slf4j.Logger

    Permalink

    The underlying SLF4J Logger.

    The underlying SLF4J Logger.

    Definition Classes
    LoggerLike
  34. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. def warn(message: ⇒ String, error: ⇒ Throwable)(implicit mc: MarkerContext): Unit

    Permalink

    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
  38. def warn(message: ⇒ String)(implicit mc: MarkerContext): Unit

    Permalink

    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

Inherited from LoggerLike

Inherited from AnyRef

Inherited from Any

Ungrouped