Class CapturedLogEvent

  • All Implemented Interfaces:
    java.io.Serializable, scala.Equals, scala.Product

    public final class CapturedLogEvent
    extends java.lang.Object
    implements scala.Product, java.io.Serializable
    Representation of a Log Event issued by a Behavior when testing with BehaviorTestKit or BehaviorTestKit.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      CapturedLogEvent​(org.slf4j.event.Level level, java.lang.String message)
      Constructor for Java API
      CapturedLogEvent​(org.slf4j.event.Level level, java.lang.String message, java.lang.Throwable errorCause)
      Constructor for Java API
      CapturedLogEvent​(org.slf4j.event.Level level, java.lang.String message, java.lang.Throwable errorCause, org.slf4j.Marker marker)
      Constructor for Java API
      CapturedLogEvent​(org.slf4j.event.Level level, java.lang.String message, java.util.Optional<java.lang.Throwable> errorCause, java.util.Optional<org.slf4j.Marker> marker, java.util.Map<java.lang.String,​java.lang.Object> mdc)
      Constructor for Java API
      CapturedLogEvent​(org.slf4j.event.Level level, java.lang.String message, org.slf4j.Marker marker)
      Constructor for Java API
      CapturedLogEvent​(org.slf4j.event.Level level, java.lang.String message, scala.Option<java.lang.Throwable> cause, scala.Option<org.slf4j.Marker> marker)  
    • Constructor Detail

      • CapturedLogEvent

        public CapturedLogEvent​(org.slf4j.event.Level level,
                                java.lang.String message,
                                scala.Option<java.lang.Throwable> cause,
                                scala.Option<org.slf4j.Marker> marker)
      • CapturedLogEvent

        public CapturedLogEvent​(org.slf4j.event.Level level,
                                java.lang.String message,
                                java.util.Optional<java.lang.Throwable> errorCause,
                                java.util.Optional<org.slf4j.Marker> marker,
                                java.util.Map<java.lang.String,​java.lang.Object> mdc)
        Constructor for Java API
      • CapturedLogEvent

        public CapturedLogEvent​(org.slf4j.event.Level level,
                                java.lang.String message)
        Constructor for Java API
      • CapturedLogEvent

        public CapturedLogEvent​(org.slf4j.event.Level level,
                                java.lang.String message,
                                java.lang.Throwable errorCause)
        Constructor for Java API
      • CapturedLogEvent

        public CapturedLogEvent​(org.slf4j.event.Level level,
                                java.lang.String message,
                                org.slf4j.Marker marker)
        Constructor for Java API
      • CapturedLogEvent

        public CapturedLogEvent​(org.slf4j.event.Level level,
                                java.lang.String message,
                                java.lang.Throwable errorCause,
                                org.slf4j.Marker marker)
        Constructor for Java API
    • Method Detail

      • apply

        public static CapturedLogEvent apply​(org.slf4j.event.Level level,
                                             java.lang.String message)
      • unapply

        public static scala.Option<scala.Tuple4<org.slf4j.event.Level,​java.lang.String,​scala.Option<java.lang.Throwable>,​scala.Option<org.slf4j.Marker>>> unapply​(CapturedLogEvent x$0)
      • level

        public org.slf4j.event.Level level()
      • message

        public java.lang.String message()
      • cause

        public scala.Option<java.lang.Throwable> cause()
      • marker

        public scala.Option<org.slf4j.Marker> marker()
      • getErrorCause

        public java.util.Optional<java.lang.Throwable> getErrorCause()
      • getMarker

        public java.util.Optional<org.slf4j.Marker> getMarker()
      • copy

        public CapturedLogEvent copy​(org.slf4j.event.Level level,
                                     java.lang.String message,
                                     scala.Option<java.lang.Throwable> cause,
                                     scala.Option<org.slf4j.Marker> marker)
      • copy$default$1

        public org.slf4j.event.Level copy$default$1()
      • copy$default$2

        public java.lang.String copy$default$2()
      • copy$default$3

        public scala.Option<java.lang.Throwable> copy$default$3()
      • copy$default$4

        public scala.Option<org.slf4j.Marker> copy$default$4()
      • productPrefix

        public java.lang.String productPrefix()
        Specified by:
        productPrefix in interface scala.Product
      • productArity

        public int productArity()
        Specified by:
        productArity in interface scala.Product
      • productElement

        public java.lang.Object productElement​(int x$1)
        Specified by:
        productElement in interface scala.Product
      • productIterator

        public scala.collection.Iterator<java.lang.Object> productIterator()
        Specified by:
        productIterator in interface scala.Product
      • canEqual

        public boolean canEqual​(java.lang.Object x$1)
        Specified by:
        canEqual in interface scala.Equals
      • productElementName

        public java.lang.String productElementName​(int x$1)
        Specified by:
        productElementName in interface scala.Product
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object x$1)
        Specified by:
        equals in interface scala.Equals
        Overrides:
        equals in class java.lang.Object