From 227678c2ef1af94ca55fde610fe862e346f5bde7 Mon Sep 17 00:00:00 2001 From: astaxie Date: Tue, 23 Aug 2016 23:48:47 +0800 Subject: [PATCH] Set SetLogFuncCallDepth default to 4 --- logs/log.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/logs/log.go b/logs/log.go index 3ff72447..ce9eb79d 100644 --- a/logs/log.go +++ b/logs/log.go @@ -536,10 +536,10 @@ func EnableFuncCallDepth(b bool) { beeLogger.enableFuncCallDepth = b } -// SetLogFuncCall set the CallDepth, default is 3 +// SetLogFuncCall set the CallDepth, default is 4 func SetLogFuncCall(b bool) { beeLogger.EnableFuncCallDepth(b) - beeLogger.SetLogFuncCallDepth(3) + beeLogger.SetLogFuncCallDepth(4) } // SetLogFuncCallDepth set log funcCallDepth