add new line to log mapper

This commit is contained in:
Shaun Chyxion 2017-05-30 12:23:43 +08:00
parent 999fc958ad
commit 21f6bb62d2

View File

@ -187,7 +187,7 @@ public class TigonSqlSessionFactoryBean extends SqlSessionFactoryBean {
transformer.setOutputProperty(OutputKeys.INDENT, "yes");
transformer.transform(new DOMSource(doc), new StreamResult(baos));
mapperResourceUpdated = new TigonMapperResource(baos.toByteArray(), mapperLocation);
log.info("Tigon MyBatis Mapper [{}] Updated Result [{}].", mapperResourceUpdated, baos);
log.info("Tigon MyBatis Mapper [{}] Updated Result [\n{}].", mapperResourceUpdated, baos);
}
}
}