diff --git a/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/log/MessageContext.kt b/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/log/MessageContext.kt index 183526dc..2103155a 100644 --- a/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/log/MessageContext.kt +++ b/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/log/MessageContext.kt @@ -14,4 +14,6 @@ class MessageContext( val messageNumber: Int, val bank: BankData, val account: AccountData? -) \ No newline at end of file +) { + override fun toString() = "${jobNumber}_${dialogNumber}_$messageNumber ${bank.bankCode} $jobType $messageType" +} \ No newline at end of file diff --git a/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/model/MessageLogEntry.kt b/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/model/MessageLogEntry.kt index efb3191e..c2a9c8b6 100644 --- a/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/model/MessageLogEntry.kt +++ b/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/model/MessageLogEntry.kt @@ -25,7 +25,7 @@ open class MessageLogEntry( get() = messageTrace + "\n" + message override fun toString(): String { - return "$type $message" + return "$context $type $message" } } \ No newline at end of file