log

abstract fun log(config: Action<KoverLogTaskConfig>)(source)

Configure coverage printing to the log for current report variant.

log {
    onCheck = true

    filters {
        // ...
    }
    header = null
    format = "<entity> line coverage: <value>%"
    groupBy = GroupingEntityType.APPLICATION
    coverageUnits = CoverageUnit.LINE
    aggregationForGroup = AggregationType.COVERED_PERCENTAGE
}

Instance to configuring of coverage printing to the log for current report variant.

See details in log.