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
,scala.Serializable
public final class CapturedLogEvent extends java.lang.Object implements scala.Product, scala.Serializable
Constructor for Java API- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CapturedLogEvent(Logging.LogLevel logLevel, java.lang.String message)
Constructor for Java APICapturedLogEvent(Logging.LogLevel logLevel, java.lang.String message, LogMarker marker)
Constructor for Java APICapturedLogEvent(Logging.LogLevel logLevel, java.lang.String message, java.lang.Throwable errorCause)
Constructor for Java APICapturedLogEvent(Logging.LogLevel logLevel, java.lang.String message, java.lang.Throwable errorCause, LogMarker marker)
Constructor for Java APICapturedLogEvent(Logging.LogLevel logLevel, java.lang.String message, java.util.Optional<java.lang.Throwable> errorCause, java.util.Optional<LogMarker> marker, java.util.Map<java.lang.String,java.lang.Object> mdc)
CapturedLogEvent(Logging.LogLevel logLevel, java.lang.String message, scala.Option<java.lang.Throwable> cause, scala.Option<LogMarker> marker, scala.collection.immutable.Map<java.lang.String,java.lang.Object> mdc)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CapturedLogEvent
apply(Logging.LogLevel logLevel, java.lang.String message)
static CapturedLogEvent
apply(Logging.LogLevel logLevel, java.lang.String message, OptionVal<java.lang.Throwable> errorCause, OptionVal<LogMarker> logMarker, scala.collection.immutable.Map<java.lang.String,java.lang.Object> mdc)
Auxiliary constructor that receives Akka's internalOptionVal
as parameters and converts them to Scala'sOption
.static CapturedLogEvent
apply(Logging.LogLevel logLevel, java.lang.String message, scala.Option<java.lang.Throwable> cause, scala.Option<LogMarker> marker, scala.collection.immutable.Map<java.lang.String,java.lang.Object> mdc)
boolean
canEqual(java.lang.Object x$1)
scala.Option<java.lang.Throwable>
cause()
CapturedLogEvent
copy(Logging.LogLevel logLevel, java.lang.String message, scala.Option<java.lang.Throwable> cause, scala.Option<LogMarker> marker, scala.collection.immutable.Map<java.lang.String,java.lang.Object> mdc)
Logging.LogLevel
copy$default$1()
java.lang.String
copy$default$2()
scala.Option<java.lang.Throwable>
copy$default$3()
scala.Option<LogMarker>
copy$default$4()
scala.collection.immutable.Map<java.lang.String,java.lang.Object>
copy$default$5()
boolean
equals(java.lang.Object x$1)
java.util.Optional<java.lang.Throwable>
getErrorCause()
java.util.Optional<LogMarker>
getLogMarker()
java.util.Map<java.lang.String,java.lang.Object>
getMdc()
int
hashCode()
Logging.LogLevel
logLevel()
scala.Option<LogMarker>
marker()
scala.collection.immutable.Map<java.lang.String,java.lang.Object>
mdc()
java.lang.String
message()
int
productArity()
java.lang.Object
productElement(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
java.lang.String
toString()
static scala.Option<scala.Tuple5<Logging.LogLevel,java.lang.String,scala.Option<java.lang.Throwable>,scala.Option<LogMarker>,scala.collection.immutable.Map<java.lang.String,java.lang.Object>>>
unapply(CapturedLogEvent x$0)
-
-
-
Constructor Detail
-
CapturedLogEvent
public CapturedLogEvent(Logging.LogLevel logLevel, java.lang.String message, scala.Option<java.lang.Throwable> cause, scala.Option<LogMarker> marker, scala.collection.immutable.Map<java.lang.String,java.lang.Object> mdc)
-
CapturedLogEvent
public CapturedLogEvent(Logging.LogLevel logLevel, java.lang.String message, java.util.Optional<java.lang.Throwable> errorCause, java.util.Optional<LogMarker> marker, java.util.Map<java.lang.String,java.lang.Object> mdc)
-
CapturedLogEvent
public CapturedLogEvent(Logging.LogLevel logLevel, java.lang.String message)
Constructor for Java API- Parameters:
logLevel
- (undocumented)message
- (undocumented)
-
CapturedLogEvent
public CapturedLogEvent(Logging.LogLevel logLevel, java.lang.String message, java.lang.Throwable errorCause)
Constructor for Java API- Parameters:
logLevel
- (undocumented)message
- (undocumented)errorCause
- (undocumented)
-
CapturedLogEvent
public CapturedLogEvent(Logging.LogLevel logLevel, java.lang.String message, LogMarker marker)
Constructor for Java API- Parameters:
logLevel
- (undocumented)message
- (undocumented)marker
- (undocumented)
-
CapturedLogEvent
public CapturedLogEvent(Logging.LogLevel logLevel, java.lang.String message, java.lang.Throwable errorCause, LogMarker marker)
Constructor for Java API- Parameters:
logLevel
- (undocumented)message
- (undocumented)errorCause
- (undocumented)marker
- (undocumented)
-
-
Method Detail
-
apply
public static CapturedLogEvent apply(Logging.LogLevel logLevel, java.lang.String message)
-
apply
public static CapturedLogEvent apply(Logging.LogLevel logLevel, java.lang.String message, OptionVal<java.lang.Throwable> errorCause, OptionVal<LogMarker> logMarker, scala.collection.immutable.Map<java.lang.String,java.lang.Object> mdc)
Auxiliary constructor that receives Akka's internalOptionVal
as parameters and converts them to Scala'sOption
. INTERNAL API- Parameters:
logLevel
- (undocumented)message
- (undocumented)errorCause
- (undocumented)logMarker
- (undocumented)mdc
- (undocumented)- Returns:
- (undocumented)
-
apply
public static CapturedLogEvent apply(Logging.LogLevel logLevel, java.lang.String message, scala.Option<java.lang.Throwable> cause, scala.Option<LogMarker> marker, scala.collection.immutable.Map<java.lang.String,java.lang.Object> mdc)
-
unapply
public static scala.Option<scala.Tuple5<Logging.LogLevel,java.lang.String,scala.Option<java.lang.Throwable>,scala.Option<LogMarker>,scala.collection.immutable.Map<java.lang.String,java.lang.Object>>> unapply(CapturedLogEvent x$0)
-
logLevel
public Logging.LogLevel logLevel()
-
message
public java.lang.String message()
-
cause
public scala.Option<java.lang.Throwable> cause()
-
marker
public scala.Option<LogMarker> marker()
-
mdc
public scala.collection.immutable.Map<java.lang.String,java.lang.Object> mdc()
-
getMdc
public java.util.Map<java.lang.String,java.lang.Object> getMdc()
-
getErrorCause
public java.util.Optional<java.lang.Throwable> getErrorCause()
-
getLogMarker
public java.util.Optional<LogMarker> getLogMarker()
-
copy
public CapturedLogEvent copy(Logging.LogLevel logLevel, java.lang.String message, scala.Option<java.lang.Throwable> cause, scala.Option<LogMarker> marker, scala.collection.immutable.Map<java.lang.String,java.lang.Object> mdc)
-
copy$default$1
public Logging.LogLevel 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<LogMarker> copy$default$4()
-
copy$default$5
public scala.collection.immutable.Map<java.lang.String,java.lang.Object> copy$default$5()
-
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
-
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
-
-