File tree Expand file tree Collapse file tree
mokkery-plugin/src/main/kotlin/dev/mokkery/plugin/ir/transformer Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import dev.mokkery.plugin.ir.IrMokkeryPluginScope
77import dev.mokkery.plugin.ir.MokkeryIr
88import dev.mokkery.plugin.ir.applyTransformChildrenVoid
99import dev.mokkery.plugin.ir.transformer.core.CoreTransformer
10- import dev.mokkery.plugin.ir.transformer.core.info
10+ import dev.mokkery.plugin.ir.transformer.core.log
1111import dev.mokkery.plugin.ir.transformer.core.referenced
1212import dev.mokkery.plugin.ir.transformer.mock.replaceMockCall
1313import dev.mokkery.plugin.ir.transformer.mock.replaceMockManyCall
@@ -76,7 +76,7 @@ class MokkeryRootTransformer(pluginScope: IrMokkeryPluginScope) : CoreTransforme
7676 override fun visitModuleFragment (declaration : IrModuleFragment ): IrModuleFragment {
7777 val time = TimeSource .Monotonic .markNow()
7878 declaration.transformChildrenVoid()
79- info { " Plugin time: ${time.elapsedNow()} " }
79+ log { " Plugin time: ${time.elapsedNow()} " }
8080 return declaration
8181 }
8282
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import dev.mokkery.plugin.ir.messageCollector
55import org.jetbrains.kotlin.cli.common.messages.CompilerMessageSeverity
66
77context(scope: TransformerScope )
8- inline fun info (message : () -> String ) {
9- messageCollector.report(CompilerMessageSeverity .INFO , " ${MokkeryConfig .PLUGIN_ID } : ${message()} " )
8+ inline fun log (message : () -> String ) {
9+ messageCollector.report(CompilerMessageSeverity .LOGGING , " ${MokkeryConfig .PLUGIN_ID } : ${message()} " )
1010}
1111
You can’t perform that action at this time.
0 commit comments