Skip to content

Commit

Permalink
Fix Spotless issues
Browse files Browse the repository at this point in the history
  • Loading branch information
severn-everett authored and oshai committed Apr 16, 2024
1 parent 37ea16d commit 23785e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@ internal actual object KLoggerNameResolver {
}

private fun getInvokingClass(line: String): String {
return topLevelPropertyRegex.find(line)?.let {
it.groupValues[1].split(".").last()
} ?: classPropertyRegex.find(line)?.let {
it.groupValues[1].split(".").last()
} ?: NO_CLASS
return topLevelPropertyRegex.find(line)?.let { it.groupValues[1].split(".").last() }
?: classPropertyRegex.find(line)?.let { it.groupValues[1].split(".").last() }
?: NO_CLASS
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ package io.github.oshai.kotlinlogging
import kotlin.test.*

private val namedLogger = KotlinLogging.logger("SimpleWasmJsTest")
private val anonymousFilePropLogger = KotlinLogging.logger { }
private val anonymousFilePropLogger = KotlinLogging.logger {}

class SimpleWasmJsTest {
private lateinit var appender: SimpleAppender
private val anonymousClassPropLogger = KotlinLogging.logger { }
private val anonymousClassPropLogger = KotlinLogging.logger {}

@BeforeTest
fun setup() {
Expand Down

0 comments on commit 23785e0

Please sign in to comment.