aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/basic
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 /plugins/base/src/test/kotlin/basic
parent57622719edb912d7c3320f7e59cd6928e5c25e44 (diff)
downloaddokka-dbff38bacb25fc3021bbdd67ac25762bc0b0d30f.tar.gz
dokka-dbff38bacb25fc3021bbdd67ac25762bc0b0d30f.tar.bz2
dokka-dbff38bacb25fc3021bbdd67ac25762bc0b0d30f.zip
Change default logging level of console apps (#2871)
Diffstat (limited to 'plugins/base/src/test/kotlin/basic')
-rw-r--r--plugins/base/src/test/kotlin/basic/FailOnWarningTest.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/base/src/test/kotlin/basic/FailOnWarningTest.kt b/plugins/base/src/test/kotlin/basic/FailOnWarningTest.kt
index 982d6550..682a257e 100644
--- a/plugins/base/src/test/kotlin/basic/FailOnWarningTest.kt
+++ b/plugins/base/src/test/kotlin/basic/FailOnWarningTest.kt
@@ -5,6 +5,7 @@ import org.jetbrains.dokka.testApi.logger.TestLogger
import org.jetbrains.dokka.base.testApi.testRunner.BaseAbstractTest
import org.jetbrains.dokka.utilities.DokkaConsoleLogger
import org.jetbrains.dokka.utilities.DokkaLogger
+import org.jetbrains.dokka.utilities.LoggingLevel
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.assertThrows
@@ -116,7 +117,7 @@ class FailOnWarningTest : BaseAbstractTest() {
}
private class ZeroErrorOrWarningCountDokkaLogger(
- logger: DokkaLogger = DokkaConsoleLogger()
+ logger: DokkaLogger = DokkaConsoleLogger(LoggingLevel.DEBUG)
) : DokkaLogger by logger {
override var warningsCount: Int = 0
override var errorsCount: Int = 0