Update log.go

fix comment
This commit is contained in:
binlihpu 2024-09-28 17:06:30 +08:00 committed by Ming Deng
parent 0654bff7d5
commit d5830a0fc2

View File

@ -715,7 +715,7 @@ func EnableFuncCallDepth(b bool) {
beeLogger.enableFuncCallDepth = b beeLogger.enableFuncCallDepth = b
} }
// SetLogFuncCall set the CallDepth, default is 4 // SetLogFuncCall set the CallDepth, default is 3
func SetLogFuncCall(b bool) { func SetLogFuncCall(b bool) {
beeLogger.EnableFuncCallDepth(b) beeLogger.EnableFuncCallDepth(b)
beeLogger.SetLogFuncCallDepth(3) beeLogger.SetLogFuncCallDepth(3)