SetLogPath set log root path
(path string)
| 309 | |
| 310 | // SetLogPath set log root path |
| 311 | func (app *DotWeb) SetLogPath(path string) { |
| 312 | app.Logger().SetLogPath(path) |
| 313 | // fixed #74 dotweb.SetEnabledLog 无效 |
| 314 | app.Config.App.LogPath = path |
| 315 | } |
| 316 | |
| 317 | // SetEnabledLog set enabled log flag |
| 318 | func (app *DotWeb) SetEnabledLog(enabledLog bool) { |
no test coverage detected