mirror of https://github.com/mindoc-org/mindoc.git
parent
2e3aebe315
commit
18b6ead94d
|
@ -148,6 +148,7 @@ func RegisterModel() {
|
|||
// RegisterLogger 注册日志
|
||||
func RegisterLogger(log string) {
|
||||
|
||||
logs.Reset()
|
||||
logs.SetLogFuncCall(true)
|
||||
_ = logs.SetLogger("console")
|
||||
logs.EnableFuncCallDepth(true)
|
||||
|
|
Loading…
Reference in New Issue