
commonMain.mu.internal.MessageInvoker.kt Maven / Gradle / Ivy
package mu.internal
@Suppress("NOTHING_TO_INLINE")
internal inline fun (() -> Any?).toStringSafe(): String {
return try {
invoke().toString()
} catch (e: Exception) {
"Log message invocation failed: $e"
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy