diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2014-04-11 10:28:23 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2014-04-11 10:28:23 +0800 |
commit | 8cfa2be4332abdc8bdcadead36d065eab3d2d55e (patch) | |
tree | 9fe6d03f5006c3dced1f9d5102f43504fb58e8b5 /modules/log/log.go | |
parent | db39e58a139ef8581b4b61d2d4a68b4e5324acdf (diff) | |
parent | 306aa5bffe7868207ed7b773c1aedbf3f0a659ad (diff) |
Merge branch 'dev' of github.com:gogits/gogs into dev
Diffstat (limited to 'modules/log/log.go')
-rw-r--r-- | modules/log/log.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/log/log.go b/modules/log/log.go index f21897b9..636ea787 100644 --- a/modules/log/log.go +++ b/modules/log/log.go @@ -21,6 +21,7 @@ func init() { func NewLogger(bufLen int64, mode, config string) { Mode, Config = mode, config logger = logs.NewLogger(bufLen) + logger.SetLogFuncCallDepth(3) logger.SetLogger(mode, config) } |