aboutsummaryrefslogtreecommitdiff
path: root/runners/maven-plugin/src/main/kotlin/MavenDokkaLogger.kt
blob: 950af3e088d03c31d168ae25a641c9feb7d25629 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package org.jetbrains.dokka.maven

import org.apache.maven.plugin.logging.Log
import org.jetbrains.dokka.utilities.DokkaLogger

class MavenDokkaLogger(val log: Log) : DokkaLogger {
    override fun error(message: String) {
        log.error(message)
    }

    override fun debug(message: String) = log.debug(message)

    override fun info(message: String) {
        log.info(message)
    }

    override fun progress(message: String) = log.info(message)

    override fun warn(message: String) {
        log.warn(message)
    }
}