diff --git a/common/src/commonMain/kotlin/net/dankito/utils/multiplatform/log/LoggerBase.kt b/common/src/commonMain/kotlin/net/dankito/utils/multiplatform/log/LoggerBase.kt index a980864d..e9292de7 100644 --- a/common/src/commonMain/kotlin/net/dankito/utils/multiplatform/log/LoggerBase.kt +++ b/common/src/commonMain/kotlin/net/dankito/utils/multiplatform/log/LoggerBase.kt @@ -2,6 +2,7 @@ package net.dankito.utils.multiplatform.log import net.dankito.utils.multiplatform.Date import net.dankito.utils.multiplatform.DateFormatter +import net.dankito.utils.multiplatform.Thread abstract class LoggerBase( @@ -98,7 +99,7 @@ abstract class LoggerBase( protected open fun createLogOutput(level: LogLevel, message: String): String { - return "${DateFormatter.format(Date())} [$level] $name - $message" + return "${DateFormatter.format(Date())} [$level] ${Thread.current.threadName} $name - $message" } } \ No newline at end of file