标签:srv cal cout color logger bsp date accounts info
给AccountServiceImpl类 添加指定的日志信息
Logger logg=Logger.getLogger(AccountSrviceImpl.class);
logg.info(accIn.getAccNo()+"在"+new Date().toLocaleString()+"给"+accOut.getAccNo()+"转账了"+log.getMoney()+"元钱"); info是日志的级别
标签:srv cal cout color logger bsp date accounts info
原文地址:https://www.cnblogs.com/axu521/p/10089546.html