From dbff38bacb25fc3021bbdd67ac25762bc0b0d30f Mon Sep 17 00:00:00 2001 From: Ignat Beresnev Date: Mon, 20 Feb 2023 21:34:12 +0100 Subject: Change default logging level of console apps (#2871) --- plugins/base/base-test-utils/src/main/kotlin/renderers/TestPage.kt | 7 ++++--- plugins/base/src/test/kotlin/basic/FailOnWarningTest.kt | 3 ++- .../ContextModuleAndPackageDocumentationReaderTest1.kt | 3 ++- .../ContextModuleAndPackageDocumentationReaderTest3.kt | 3 ++- .../InvalidContentModuleAndPackageDocumentationReaderTest.kt | 5 +++-- 5 files changed, 13 insertions(+), 8 deletions(-) (limited to 'plugins/base') diff --git a/plugins/base/base-test-utils/src/main/kotlin/renderers/TestPage.kt b/plugins/base/base-test-utils/src/main/kotlin/renderers/TestPage.kt index 4066c7c6..e25d8293 100644 --- a/plugins/base/base-test-utils/src/main/kotlin/renderers/TestPage.kt +++ b/plugins/base/base-test-utils/src/main/kotlin/renderers/TestPage.kt @@ -9,12 +9,13 @@ import org.jetbrains.dokka.model.doc.DocTag import org.jetbrains.dokka.model.properties.PropertyContainer import org.jetbrains.dokka.pages.* import org.jetbrains.dokka.utilities.DokkaConsoleLogger +import org.jetbrains.dokka.utilities.LoggingLevel fun testPage(callback: PageContentBuilder.DocumentableContentBuilder.() -> Unit): RawTestPage { val content = PageContentBuilder( EmptyCommentConverter, - KotlinSignatureProvider(EmptyCommentConverter, DokkaConsoleLogger()), - DokkaConsoleLogger() + KotlinSignatureProvider(EmptyCommentConverter, DokkaConsoleLogger(LoggingLevel.DEBUG)), + DokkaConsoleLogger(LoggingLevel.DEBUG) ).contentFor( DRI.topLevel, emptySet(), @@ -51,4 +52,4 @@ internal object EmptyCommentConverter : CommentsToContentConverter { styles: Set