aboutsummaryrefslogtreecommitdiff
path: root/gradle-plugin/src/main/kotlin/logger.kt
diff options
context:
space:
mode:
authorDmitry Jemerov <intelliyole@gmail.com>2015-07-13 18:54:14 +0200
committerDmitry Jemerov <intelliyole@gmail.com>2015-07-13 18:54:14 +0200
commit1a79c5d46536f1140f6348868aa14974182114ba (patch)
tree19a27e45be309dfc3425088ce8db93811177b38f /gradle-plugin/src/main/kotlin/logger.kt
parentdfa23a3ff1b15570102d4431b7bfc709efa16a52 (diff)
parent0352d46db95ba375daa523bd5ec6e2f6b27f81f8 (diff)
downloaddokka-1a79c5d46536f1140f6348868aa14974182114ba.tar.gz
dokka-1a79c5d46536f1140f6348868aa14974182114ba.tar.bz2
dokka-1a79c5d46536f1140f6348868aa14974182114ba.zip
Merge pull request #29 from cy6erGn0m/gradle-plugin
Gradle plugin
Diffstat (limited to 'gradle-plugin/src/main/kotlin/logger.kt')
-rw-r--r--gradle-plugin/src/main/kotlin/logger.kt18
1 files changed, 18 insertions, 0 deletions
diff --git a/gradle-plugin/src/main/kotlin/logger.kt b/gradle-plugin/src/main/kotlin/logger.kt
new file mode 100644
index 00000000..715c1f04
--- /dev/null
+++ b/gradle-plugin/src/main/kotlin/logger.kt
@@ -0,0 +1,18 @@
+package org.jetbrains.dokka.gradle
+
+import org.gradle.api.logging.Logger
+import org.jetbrains.dokka.DokkaLogger
+
+class DokkaGradleLogger(val logger: Logger) : DokkaLogger {
+ override fun error(message: String) {
+ logger.error(message)
+ }
+
+ override fun info(message: String) {
+ logger.info(message)
+ }
+
+ override fun warn(message: String) {
+ logger.warn(message)
+ }
+} \ No newline at end of file