We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 525ab10 commit ce94c87Copy full SHA for ce94c87
1 file changed
docs/readme.md
@@ -62,8 +62,8 @@ starter.registerListenerHost(new ListenerHost(){
62
public class LogDemo {
63
public static void main(String[] args) {
64
//默认方式
65
- //日志文件路径
66
- LoggerImpl.INSTANCE.logFileDir = "./logs/%s.log";
+ //日志文件路径 设置为null 时不输出文件
+ starter.APPLICATION.logger.setOutFile("./logs/%s.log");
67
//日志文件格式
68
LoggerImpl.INSTANCE.dfn = new SimpleDateFormat("/yyyy-MM-dd");
69
}
0 commit comments