MCPcopy Create free account
hub / github.com/devfeel/dotweb / SetLogPath

Method SetLogPath

dotweb.go:311–315  ·  view source on GitHub ↗

SetLogPath set log root path

(path string)

Source from the content-addressed store, hash-verified

309
310// SetLogPath set log root path
311func (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
318func (app *DotWeb) SetEnabledLog(enabledLog bool) {

Callers 1

initAppConfigMethod · 0.95

Calls 2

LoggerMethod · 0.95
SetLogPathMethod · 0.65

Tested by

no test coverage detected