eclipse中几个常用的自定义语句模板

plog4j  private static Logger logger = Logger.getLogger(${enclosing_type}.class);${cursor}
plog     private static Log logger = LogFactory.getLog(${enclosing_type}.class);${cursor}

logd  logger.debug("${LogContent}");${cursor}
logi   logger.info("${LogContent}");${cursor}
loge  logger.error("${LogContent}");${cursor}

logdd  logger.debug("▲▲▲ ${LogContent}");${cursor}
logii    logger.info("●●● ${LogContent}");${cursor}
logee  logger.error("★★★ ${LogContent}");${cursor}

logdv logger.debug("▲▲▲ ${val} = " + ${val});${cursor}
logiv  logger.info("●●● ${val} = " + ${val});${cursor}
logev logger.error("★★★ ${val} = " + ${val});${cursor}


你可能感兴趣的:(eclipse)