Update and rename 47.2. Programmatically to 47.2. Programmatically.md

master
qibaoguang 2015-03-05 22:34:10 +08:00
parent a14a76dcd0
commit 846201ac43
2 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,4 @@
### 47.2. 以编程方式
你也可以通过调用`SpringApplication.addListeners(…)`方法来激活一个监听器,并传递相应的`Writer`对象。该方法允许你通过`Writer`构造器自定义文件名和路径。