Skip to content

Commit

Permalink
Version 1.3.7
Browse files Browse the repository at this point in the history
* 新增Classic初始化App方式,调整New初始化内容
* 调整日志启用开关默认为false,可以通过SetEnabledLog(true)或者SetDevelopmentMode()启用
* dotweb.New()仅初始化必要的组件,移除打印Logo,移除启动日志
* dotweb.Classic()方式下,默认启用日志,默认启用RequestLog中间件,默认打印logo以及启动日志
* dotweb.SetDevelopmentMode()在原有启用屏幕打印的基础上,增加默认开启日志开关
* 新增 example/start
* 2017-11-10 21:30
  • Loading branch information
devfeel committed Nov 10, 2017
1 parent 943b819 commit 6a9b7ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/start/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

func main(){
app := dotweb.Classic()
app := dotweb.New()
//app := dotweb.New()
//开启development模式
app.SetDevelopmentMode()

Expand Down

0 comments on commit 6a9b7ec

Please sign in to comment.