Added toString() implementation

This commit is contained in:
dankito 2024-10-04 18:04:36 +02:00
parent dcbbe043f0
commit 05322aface
2 changed files with 4 additions and 2 deletions

View File

@ -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"
}

View File

@ -25,7 +25,7 @@ open class MessageLogEntry(
get() = messageTrace + "\n" + message
override fun toString(): String {
return "$type $message"
return "$context $type $message"
}
}