Package akka.actor.testkit.typed
Class CapturedLogEvent
- java.lang.Object
-
- akka.actor.testkit.typed.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 aBehavior
when testing withBehaviorTestKit
orBehaviorTestKit
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CapturedLogEvent(org.slf4j.event.Level level, java.lang.String message)
Constructor for Java APICapturedLogEvent(org.slf4j.event.Level level, java.lang.String message, java.lang.Throwable errorCause)
Constructor for Java APICapturedLogEvent(org.slf4j.event.Level level, java.lang.String message, java.lang.Throwable errorCause, org.slf4j.Marker marker)
Constructor for Java APICapturedLogEvent(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 APICapturedLogEvent(org.slf4j.event.Level level, java.lang.String message, org.slf4j.Marker marker)
Constructor for Java APICapturedLogEvent(org.slf4j.event.Level level, java.lang.String message, scala.Option<java.lang.Throwable> cause, scala.Option<org.slf4j.Marker> marker)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CapturedLogEvent
apply(org.slf4j.event.Level level, java.lang.String message)
boolean
canEqual(java.lang.Object x$1)
scala.Option<java.lang.Throwable>
cause()
CapturedLogEvent
copy(org.slf4j.event.Level level, java.lang.String message, scala.Option<java.lang.Throwable> cause, scala.Option<org.slf4j.Marker> marker)
org.slf4j.event.Level
copy$default$1()
java.lang.String
copy$default$2()
scala.Option<java.lang.Throwable>
copy$default$3()
scala.Option<org.slf4j.Marker>
copy$default$4()
boolean
equals(java.lang.Object x$1)
java.util.Optional<java.lang.Throwable>
getErrorCause()
java.util.Optional<org.slf4j.Marker>
getMarker()
int
hashCode()
org.slf4j.event.Level
level()
scala.Option<org.slf4j.Marker>
marker()
java.lang.String
message()
int
productArity()
java.lang.Object
productElement(int x$1)
java.lang.String
productElementName(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
java.lang.String
toString()
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)
-
-
-
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 interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
productElementName
public java.lang.String productElementName(int x$1)
- Specified by:
productElementName
in interfacescala.Product
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-