Added toString() implementation
This commit is contained in:
parent
dcbbe043f0
commit
05322aface
|
@ -14,4 +14,6 @@ class MessageContext(
|
|||
val messageNumber: Int,
|
||||
val bank: BankData,
|
||||
val account: AccountData?
|
||||
)
|
||||
) {
|
||||
override fun toString() = "${jobNumber}_${dialogNumber}_$messageNumber ${bank.bankCode} $jobType $messageType"
|
||||
}
|
|
@ -25,7 +25,7 @@ open class MessageLogEntry(
|
|||
get() = messageTrace + "\n" + message
|
||||
|
||||
override fun toString(): String {
|
||||
return "$type $message"
|
||||
return "$context $type $message"
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue