#2 Logging mit kotlin-logging implementiert
This commit is contained in:
1 parent
698490a6f8
commit
4d827948f8
16 files changed
+93
-52
No files matched your search
@@ -3,9 +3,12 @@ package net.keinekekse.app
|
||||
//import org.koin.plugin.module.dsl.startKoin
|
||||
import androidx.compose.ui.window.Window
|
||||
import androidx.compose.ui.window.application
|
||||
import io.github.oshai.kotlinlogging.KotlinLogging
|
||||
import net.keinekekse.app.books.di.KoinApp
|
||||
import org.koin.plugin.module.dsl.startKoin
|
||||
|
||||
private val logger = KotlinLogging.logger {}
|
||||
|
||||
//@PropertyValue("kc_server")
|
||||
//var keycloakServer: String = ""
|
||||
//
|
||||
@@ -18,7 +21,8 @@ import org.koin.plugin.module.dsl.startKoin
|
||||
fun main() = application {
|
||||
|
||||
startKoin<KoinApp>()
|
||||
|
||||
logger.info { "Koin started" }
|
||||
logger.debug { "Debugging Koin start" }
|
||||
// val config: ConfigProperties = koinInject()
|
||||
// val settings: Settings = koinInject()
|
||||
|
||||
|
||||
Reference in new issue
Block a user