void ( @NotNull Project project, @NotNull ModelBuilderService service, @NotNull String modelName, long timeInMs ) { String projectName = GradleNegotiationUtil.getProjectDisplayName(project); String serviceName = service.getClass().getSimpleName(); String msg = String.format("%s: service %s imported '%s' in %d ms", projectName, serviceName, modelName, timeInMs); project.getLogger().error(msg); }