aboutsummaryrefslogtreecommitdiff
path: root/maven-plugin/src/main/kotlin/MavenDokkaLogger.kt
diff options
context:
space:
mode:
authorDmitry Jemerov <intelliyole@gmail.com>2015-07-13 18:00:53 +0200
committerDmitry Jemerov <intelliyole@gmail.com>2015-07-13 18:00:53 +0200
commitdfa23a3ff1b15570102d4431b7bfc709efa16a52 (patch)
tree81311a3d7806aaa4f2533ee9f60f0486f63e67de /maven-plugin/src/main/kotlin/MavenDokkaLogger.kt
parent6d1a526ae3cabd89565ff898f00f72f565efa36f (diff)
parent513af27ac95939e659d337b02d94b096bad7d970 (diff)
downloaddokka-dfa23a3ff1b15570102d4431b7bfc709efa16a52.tar.gz
dokka-dfa23a3ff1b15570102d4431b7bfc709efa16a52.tar.bz2
dokka-dfa23a3ff1b15570102d4431b7bfc709efa16a52.zip
Merge pull request #28 from cy6erGn0m/maven-plugin
Maven plugin
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