fix(build): use Kotlin with explicit project dependency
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
package jadx.core.utils.log
|
||||
|
||||
import org.slf4j.Logger
|
||||
import org.slf4j.LoggerFactory
|
||||
|
||||
inline val <reified T : Any> T.LOG: Logger get() = LoggerFactory.getLogger(T::class.java)
|
||||
|
||||
inline fun <reified T : Any, R> T.runCatchingLog(msg: String? = null, block: () -> R) =
|
||||
runCatching(block)
|
||||
.onFailure { LOG.error(msg.orEmpty(), it) }
|
||||
Reference in New Issue
Block a user