Packages

trait Logging extends AnyRef

Utility trait for classes that want to log data. Creates a SLF4J logger for the class and allows logging messages at different levels using methods that only evaluate parameters lazily if the log level is enabled.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Logging
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. implicit class LogStringContext extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  10. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean = false): Boolean
    Attributes
    protected
  11. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def isTraceEnabled(): Boolean
    Attributes
    protected
  14. def log: Logger
    Attributes
    protected
  15. def logDebug(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
  16. def logDebug(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
  17. def logDebug(entry: LogEntry): Unit
    Attributes
    protected
  18. def logDebug(msg: => String): Unit
    Attributes
    protected
  19. def logError(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
  20. def logError(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
  21. def logError(entry: LogEntry): Unit
    Attributes
    protected
  22. def logError(msg: => String): Unit
    Attributes
    protected
  23. def logInfo(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
  24. def logInfo(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
  25. def logInfo(entry: LogEntry): Unit
    Attributes
    protected
  26. def logInfo(msg: => String): Unit
    Attributes
    protected
  27. def logName: String
    Attributes
    protected
  28. def logTrace(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
  29. def logTrace(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
  30. def logTrace(entry: LogEntry): Unit
    Attributes
    protected
  31. def logTrace(msg: => String): Unit
    Attributes
    protected
  32. def logWarning(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
  33. def logWarning(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
  34. def logWarning(entry: LogEntry): Unit
    Attributes
    protected
  35. def logWarning(msg: => String): Unit
    Attributes
    protected
  36. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  39. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. def withLogContext(context: Map[String, String])(body: => Unit): Unit
    Attributes
    protected

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped