可以在不编码适配器的情况下实现吗?
log.info("test1"); //12/07/2012 10:08:51
log.info("test1"); //12/07/2012 10:08:52
log.info("test2"); //12/07/2012 10:08:53
log.info("test2"); //12/07/2012 10:08:54
log.info("test3"); //12/07/2012 10:08:55
log.info("test1"); //12/07/2012 10:08:56
预期产出:
12/07/2012 10:08:51 INFO - teste1
12/07/2012 10:08:53 INFO - teste2
12/07/2012 10:08:55 INFO - teste3
12/07/2012 10:08:56 INFO - teste1