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 /plugins/base/base-test-utils/src/main/kotlin/renderers | |
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 'plugins/base/base-test-utils/src/main/kotlin/renderers')
-rw-r--r-- | plugins/base/base-test-utils/src/main/kotlin/renderers/TestPage.kt | 7 |
1 files changed, 4 insertions, 3 deletions
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<Style>, extras: PropertyContainer<ContentNode> ): List<ContentNode> = emptyList() -}
\ No newline at end of file +} |