corda / net.corda.core.serialization / ObjectWithCompatibleContext

ObjectWithCompatibleContext

data class ObjectWithCompatibleContext<out T : Any>

Constructors

<init>

ObjectWithCompatibleContext(obj: T, context: SerializationContext)

Properties

context

val context: SerializationContext

obj

val obj: T

Extension Functions

contextLogger

fun Any.contextLogger(): Logger

When called from a companion object, returns the logger for the enclosing class.