mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-06-04 11:17:34 +08:00
Fix bug related to log
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user