public void logSummary ( ) { final String message = totalFoundErrors == 0 ? "No lint errors found." : String . format ( "Found %s errors in %s files." , totalFoundErrors , totalResourcesWithErrors ) ; log . info ( "----------------------------------------" ) ; log . info ( String . format ( "Total resources: %s" , totalResources ) ) ; log . info ( message ) ; log . info ( "----------------------------------------\n" ) ; }
Logs the summary as it was collected at this point .