aboutsummaryrefslogtreecommitdiff
path: root/dokka-gradle-plugin/src/main/kotlin/logger.kt
blob: 715c1f04f012339d6489cdf2436dfb354ecf58aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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)
    }
}