aboutsummaryrefslogtreecommitdiff
path: root/maven-plugin/src/main/kotlin/MavenDokkaLogger.kt
diff options
context:
space:
mode:
Diffstat (limited to 'maven-plugin/src/main/kotlin/MavenDokkaLogger.kt')
-rw-r--r--maven-plugin/src/main/kotlin/MavenDokkaLogger.kt18
1 files changed, 18 insertions, 0 deletions
diff --git a/maven-plugin/src/main/kotlin/MavenDokkaLogger.kt b/maven-plugin/src/main/kotlin/MavenDokkaLogger.kt
new file mode 100644
index 00000000..ebae823b
--- /dev/null
+++ b/maven-plugin/src/main/kotlin/MavenDokkaLogger.kt
@@ -0,0 +1,18 @@
+package org.jetbrains.dokka.maven
+
+import org.apache.maven.plugin.logging.Log
+import org.jetbrains.dokka.DokkaLogger
+
+public class MavenDokkaLogger(val log: Log) : DokkaLogger {
+ override fun error(message: String) {
+ log.error(message)
+ }
+
+ override fun info(message: String) {
+ log.info(message)
+ }
+
+ override fun warn(message: String) {
+ log.warn(message)
+ }
+} \ No newline at end of file