Packages

object LoggingTestKit

Facilities for selectively matching expected events from logging.

Requires Logback.

Source
LoggingTestKit.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LoggingTestKit
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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]) @HotSpotIntrinsicCandidate() @native()
  6. def custom(test: Function[LoggingEvent, Boolean]): LoggingTestKit

    Create a custom event filter.

    Create a custom event filter. The filter will match those events for which the supplied function returns true.

  7. def deadLetters(): LoggingTestKit

    Filter for the logging of dead letters.

  8. def debug(messageIncludes: String): LoggingTestKit

    Create a filter for DEBUG level events with a log message that contains the given messageIncludes.

    Create a filter for DEBUG level events with a log message that contains the given messageIncludes.

    More conditions can be added to the returned [LoggingEventFilter].

  9. def empty: LoggingTestKit

    An empty filter that doesn't match any events.

    An empty filter that doesn't match any events.

    More conditions can be added to the returned [LoggingEventFilter].

  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def error[A <: Throwable](implicit arg0: ClassTag[A]): LoggingTestKit

    Create a filter for WARN level events with a an included throwable that is a class or subclass of the given Throwable ClassTag.

    Create a filter for WARN level events with a an included throwable that is a class or subclass of the given Throwable ClassTag.

    More conditions can be added to the returned [LoggingEventFilter].

  13. def error(messageIncludes: String): LoggingTestKit

    Create a filter for ERROR level events with a log message that contains the given messageIncludes.

    Create a filter for ERROR level events with a log message that contains the given messageIncludes.

    More conditions can be added to the returned [LoggingEventFilter].

  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  16. def info(messageIncludes: String): LoggingTestKit

    Create a filter for INFO level events with a log message that contains the given messageIncludes.

    Create a filter for INFO level events with a log message that contains the given messageIncludes.

    More conditions can be added to the returned [LoggingEventFilter].

  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def messageContains(str: String): LoggingTestKit

    Create a filter for events with a log message that contains the given messageIncludes.

    Create a filter for events with a log message that contains the given messageIncludes.

    More conditions can be added to the returned [LoggingEventFilter].

  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. def trace(messageIncludes: String): LoggingTestKit

    Create a filter for TRACE level events with a log message that contains the given messageIncludes.

    Create a filter for TRACE level events with a log message that contains the given messageIncludes.

    More conditions can be added to the returned [LoggingEventFilter].

  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. def warn[A <: Throwable](implicit arg0: ClassTag[A]): LoggingTestKit

    Create a filter for WARN level events with a an included throwable that is a class or subclass of the given Throwable ClassTag.

    Create a filter for WARN level events with a an included throwable that is a class or subclass of the given Throwable ClassTag.

    More conditions can be added to the returned [LoggingEventFilter].

  29. def warn(messageIncludes: String): LoggingTestKit

    Create a filter for WARN level events with a log message that contains the given messageIncludes.

    Create a filter for WARN level events with a log message that contains the given messageIncludes.

    More conditions can be added to the returned [LoggingEventFilter].

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