aboutsummaryrefslogtreecommitdiff
path: root/runners/cli/src/main
diff options
context:
space:
mode:
authorIgnat Beresnev <ignat.beresnev@jetbrains.com>2023-02-20 21:34:12 +0100
committerGitHub <noreply@github.com>2023-02-20 21:34:12 +0100
commitdbff38bacb25fc3021bbdd67ac25762bc0b0d30f (patch)
treebc26059428882dbee3f9bc95344fd9af887b3f1f /runners/cli/src/main
parent57622719edb912d7c3320f7e59cd6928e5c25e44 (diff)
downloaddokka-dbff38bacb25fc3021bbdd67ac25762bc0b0d30f.tar.gz
dokka-dbff38bacb25fc3021bbdd67ac25762bc0b0d30f.tar.bz2
dokka-dbff38bacb25fc3021bbdd67ac25762bc0b0d30f.zip
Change default logging level of console apps (#2871)
Diffstat (limited to 'runners/cli/src/main')
-rw-r--r--runners/cli/src/main/kotlin/org/jetbrains/dokka/GlobalArguments.kt8
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()