-
-
Notifications
You must be signed in to change notification settings - Fork 124
Open
Description
Hello I integrated kotlin-logging into my project but when I use the logger in my classes nothing appear in LogCat.
Code in common:
val logger = KotlinLogging.logger {}
@Composable
@Preview
fun App(
onSplashFinished: () -> Unit = {}
) {
logger.debug { "Testing!" }
AppTheme {
Surface(
modifier = Modifier.fillMaxSize(),
color = Color.Transparent
) {
val navController = rememberNavController()
// val screen by splashViewModel.state
MainGraph(
navController = navController,
onDataLoaded = onSplashFinished
)
}
}
}
Nothing appears in LogCat. I added this to common dependencies in my KMM Compose project:
kotlinLogging = "7.0.3"
kotlin-logging = { module = "io.github.oshai:kotlin-logging", version.ref = "kotlinLogging" }
Metadata
Metadata
Assignees
Labels
No labels