findLog4kFunction

fun DeclarationFinder.findLog4kFunction(className: String, name: String, regularParams: Int): IrSimpleFunctionSymbol?(source)

The log4k member function name declared on className (dot-separated for nested classes, e.g. "Meter.Timed") with exactly regularParams regular parameters, or null when the runtime on the classpath does not provide that overload. The parameter count pins the exact overload the plugin was built against, so an unexpected runtime degrades to "not found" instead of a mis-shaped call.