diff options
author | Ignat Beresnev <ignat.beresnev@jetbrains.com> | 2023-02-20 21:34:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-20 21:34:12 +0100 |
commit | dbff38bacb25fc3021bbdd67ac25762bc0b0d30f (patch) | |
tree | bc26059428882dbee3f9bc95344fd9af887b3f1f /runners/cli | |
parent | 57622719edb912d7c3320f7e59cd6928e5c25e44 (diff) | |
download | dokka-dbff38bacb25fc3021bbdd67ac25762bc0b0d30f.tar.gz dokka-dbff38bacb25fc3021bbdd67ac25762bc0b0d30f.tar.bz2 dokka-dbff38bacb25fc3021bbdd67ac25762bc0b0d30f.zip |
Change default logging level of console apps (#2871)
Diffstat (limited to 'runners/cli')
-rw-r--r-- | runners/cli/src/main/kotlin/org/jetbrains/dokka/GlobalArguments.kt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runners/cli/src/main/kotlin/org/jetbrains/dokka/GlobalArguments.kt b/runners/cli/src/main/kotlin/org/jetbrains/dokka/GlobalArguments.kt index 2bda8d79..29b57b72 100644 --- a/runners/cli/src/main/kotlin/org/jetbrains/dokka/GlobalArguments.kt +++ b/runners/cli/src/main/kotlin/org/jetbrains/dokka/GlobalArguments.kt @@ -120,13 +120,13 @@ class GlobalArguments(args: Array<String>) : DokkaConfiguration { "WARN" -> LoggingLevel.WARN "ERROR" -> LoggingLevel.ERROR else -> { - println("""Failed to deserialize logging level, got $it expected one of - |"DEBUG", "PROGRESS", "INFO", "WARN", "ERROR", falling back to DEBUG""".trimMargin()) - LoggingLevel.DEBUG + println("""Failed to deserialize logging level, got $it expected one of + |"DEBUG", "PROGRESS", "INFO", "WARN", "ERROR", falling back to PROGRESS""".trimMargin()) + LoggingLevel.PROGRESS } } }, toString = { it.toString() } - )).default(LoggingLevel.DEBUG) + )).default(LoggingLevel.PROGRESS) override val modules: List<DokkaConfiguration.DokkaModuleDescription> = emptyList() |