Skip to content

Commit

Permalink
Removed logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Otacon committed Sep 28, 2024
1 parent 845a74e commit 67af966
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion blog/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ footer:
url: "https://github.com/Otacon/olpaka"
- label: "Discord"
icon: "fab fa-brands fa-discord"
url: "https://discord.gg/sutmaxKy"
url: "https://discord.gg/4exUDbu539"
6 changes: 1 addition & 5 deletions composeApp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ buildkonfig {
buildConfigField(BOOLEAN, "allowClearPreferences", "false")
buildConfigField(STRING, "appVersion", versionName)
buildConfigField(STRING, "appVariant", "release")
buildConfigField(STRING, "loggingLevel", "verbose")
buildConfigField(STRING, "loggingLevel", "warning")
buildConfigField(STRING, "analyticsMeasurementId", analyticsMeasurementId)
buildConfigField(STRING, "analyticsApiSecret", analyticsApiSecret)
buildConfigField(STRING, "firebaseWebConfigJson", decodedWebConfig)
Expand All @@ -41,10 +41,6 @@ buildkonfig {
buildConfigField(STRING, "loggingLevel", "verbose")
buildConfigField(BOOLEAN, "allowClearPreferences", "true")
}
defaultConfigs("release") {
buildConfigField(STRING, "loggingLevel", "warning")
buildConfigField(STRING, "appVariant", "release")
}
}

kotlin {
Expand Down
6 changes: 2 additions & 4 deletions composeApp/src/commonMain/kotlin/org/cyanotic/olpaka/App.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.collectAsState
import com.cyanotic.olpaka.BuildKonfig
import io.github.aakira.napier.DebugAntilog
import io.github.aakira.napier.LogLevel
import io.github.aakira.napier.Napier
import io.ktor.http.*
import org.cyanotic.olpaka.core.*
import org.cyanotic.olpaka.feature.main.MainScreen
Expand Down Expand Up @@ -59,8 +57,8 @@ private fun initLogging() {
}
}
logLevel?.let {
Napier.base(DebugAntilog())
Napier.isEnable(it, null)
// Napier.base(DebugAntilog())
// Napier.isEnable(it, null)
}
}

Expand Down

0 comments on commit 67af966

Please sign in to comment.