Package akka.actor.testkit.typed
Class LoggingEvent
- java.lang.Object
-
- akka.actor.testkit.typed.LoggingEvent
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
public final class LoggingEvent extends java.lang.Object implements scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LoggingEvent(org.slf4j.event.Level level, java.lang.String loggerName, java.lang.String threadName, java.lang.String message, long timeStamp, scala.Option<org.slf4j.Marker> marker, scala.Option<java.lang.Throwable> throwable, scala.collection.immutable.Map<java.lang.String,java.lang.String> mdc)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LoggingEvent
apply(org.slf4j.event.Level level, java.lang.String loggerName, java.lang.String threadName, java.lang.String message, long timeStamp)
Scala APIstatic LoggingEvent
apply(org.slf4j.event.Level level, java.lang.String loggerName, java.lang.String threadName, java.lang.String message, long timeStamp, scala.Option<org.slf4j.Marker> marker, scala.Option<java.lang.Throwable> throwable, scala.collection.immutable.Map<java.lang.String,java.lang.String> mdc)
Representation of logging event when testing withLoggingTestKit
orLoggingTestKit
.boolean
canEqual(java.lang.Object x$1)
LoggingEvent
copy(org.slf4j.event.Level level, java.lang.String loggerName, java.lang.String threadName, java.lang.String message, long timeStamp, scala.Option<org.slf4j.Marker> marker, scala.Option<java.lang.Throwable> throwable, scala.collection.immutable.Map<java.lang.String,java.lang.String> mdc)
org.slf4j.event.Level
copy$default$1()
java.lang.String
copy$default$2()
java.lang.String
copy$default$3()
java.lang.String
copy$default$4()
long
copy$default$5()
scala.Option<org.slf4j.Marker>
copy$default$6()
scala.Option<java.lang.Throwable>
copy$default$7()
scala.collection.immutable.Map<java.lang.String,java.lang.String>
copy$default$8()
static LoggingEvent
create(org.slf4j.event.Level level, java.lang.String loggerName, java.lang.String threadName, java.lang.String message, long timeStamp)
Java APIstatic LoggingEvent
create(org.slf4j.event.Level level, java.lang.String loggerName, java.lang.String threadName, java.lang.String message, long timeStamp, java.util.Optional<org.slf4j.Marker> marker, java.util.Optional<java.lang.Throwable> throwable, java.util.Map<java.lang.String,java.lang.String> mdc)
Java APIboolean
equals(java.lang.Object x$1)
java.util.Optional<org.slf4j.Marker>
getMarker()
Java APIjava.util.Map<java.lang.String,java.lang.String>
getMdc()
Java APIjava.util.Optional<java.lang.Throwable>
getThrowable()
Java APIint
hashCode()
org.slf4j.event.Level
level()
java.lang.String
loggerName()
scala.Option<org.slf4j.Marker>
marker()
scala.collection.immutable.Map<java.lang.String,java.lang.String>
mdc()
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
threadName()
scala.Option<java.lang.Throwable>
throwable()
long
timeStamp()
java.lang.String
toString()
static scala.Option<scala.Tuple8<org.slf4j.event.Level,java.lang.String,java.lang.String,java.lang.String,java.lang.Object,scala.Option<org.slf4j.Marker>,scala.Option<java.lang.Throwable>,scala.collection.immutable.Map<java.lang.String,java.lang.String>>>
unapply(LoggingEvent x$0)
-
-
-
Constructor Detail
-
LoggingEvent
public LoggingEvent(org.slf4j.event.Level level, java.lang.String loggerName, java.lang.String threadName, java.lang.String message, long timeStamp, scala.Option<org.slf4j.Marker> marker, scala.Option<java.lang.Throwable> throwable, scala.collection.immutable.Map<java.lang.String,java.lang.String> mdc)
-
-
Method Detail
-
apply
public static LoggingEvent apply(org.slf4j.event.Level level, java.lang.String loggerName, java.lang.String threadName, java.lang.String message, long timeStamp)
Scala API
-
create
public static LoggingEvent create(org.slf4j.event.Level level, java.lang.String loggerName, java.lang.String threadName, java.lang.String message, long timeStamp)
Java API
-
create
public static LoggingEvent create(org.slf4j.event.Level level, java.lang.String loggerName, java.lang.String threadName, java.lang.String message, long timeStamp, java.util.Optional<org.slf4j.Marker> marker, java.util.Optional<java.lang.Throwable> throwable, java.util.Map<java.lang.String,java.lang.String> mdc)
Java API
-
apply
public static LoggingEvent apply(org.slf4j.event.Level level, java.lang.String loggerName, java.lang.String threadName, java.lang.String message, long timeStamp, scala.Option<org.slf4j.Marker> marker, scala.Option<java.lang.Throwable> throwable, scala.collection.immutable.Map<java.lang.String,java.lang.String> mdc)
Representation of logging event when testing withLoggingTestKit
orLoggingTestKit
.
-
unapply
public static scala.Option<scala.Tuple8<org.slf4j.event.Level,java.lang.String,java.lang.String,java.lang.String,java.lang.Object,scala.Option<org.slf4j.Marker>,scala.Option<java.lang.Throwable>,scala.collection.immutable.Map<java.lang.String,java.lang.String>>> unapply(LoggingEvent x$0)
-
level
public org.slf4j.event.Level level()
-
loggerName
public java.lang.String loggerName()
-
threadName
public java.lang.String threadName()
-
message
public java.lang.String message()
-
timeStamp
public long timeStamp()
-
marker
public scala.Option<org.slf4j.Marker> marker()
-
throwable
public scala.Option<java.lang.Throwable> throwable()
-
mdc
public scala.collection.immutable.Map<java.lang.String,java.lang.String> mdc()
-
getMarker
public java.util.Optional<org.slf4j.Marker> getMarker()
Java API
-
getThrowable
public java.util.Optional<java.lang.Throwable> getThrowable()
Java API
-
getMdc
public java.util.Map<java.lang.String,java.lang.String> getMdc()
Java API
-
copy
public LoggingEvent copy(org.slf4j.event.Level level, java.lang.String loggerName, java.lang.String threadName, java.lang.String message, long timeStamp, scala.Option<org.slf4j.Marker> marker, scala.Option<java.lang.Throwable> throwable, scala.collection.immutable.Map<java.lang.String,java.lang.String> mdc)
-
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 java.lang.String copy$default$3()
-
copy$default$4
public java.lang.String copy$default$4()
-
copy$default$5
public long copy$default$5()
-
copy$default$6
public scala.Option<org.slf4j.Marker> copy$default$6()
-
copy$default$7
public scala.Option<java.lang.Throwable> copy$default$7()
-
copy$default$8
public scala.collection.immutable.Map<java.lang.String,java.lang.String> copy$default$8()
-
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
-
-