idea 快速日志

private static final Logger log = LoggerFactory.getLogger($class$.class);
if (log.isInfoEnabled()) {
    log.info("$METHOD_NAME$,$PLACE_HOLDERS$", $ARGUMENTS$);
}
METHOD_NAME = methodName()
PLACE_HOLDERS = groovyScript("_1.collect { it + ' = {}'}.join(', ') ", methodParameters())	
ARGUMENTS = groovyScript("_1.collect { it }.join(', ') ", methodParameters())

你可能感兴趣的:(JAVA,java,log4j,slf4j)