1
0
Fork 0
forked from forgejo/forgejo

Fix bug related to log

This commit is contained in:
Unknown 2014-04-06 13:00:20 -04:00
parent d3a987eded
commit 2846ff7d31
7 changed files with 46 additions and 57 deletions

View file

@ -21,8 +21,6 @@ func init() {
func NewLogger(bufLen int64, mode, config string) {
Mode, Config = mode, config
logger = logs.NewLogger(bufLen)
logger.EnableFuncCallDepth(true)
logger.SetLogFuncCallDepth(4)
logger.SetLogger(mode, config)
}