printMatchedFiles

fun printMatchedFiles(logger: (FileDeclarationContext) -> Unit = { println( getMessage( "debug.files.matched", it.declaration.name, ViolationLocation.format(it.declaration, it.modulePath, it.sourceSet?.name), it.declaration.packageName, ), ) }): FilesRuleBuilder

Debugging helper that prints information about all files matched by the that() filter.

Parameters

logger

Custom log consumer (defaults to printing to standard output).