forked from forgejo/forgejo
Fix bug related to log
This commit is contained in:
parent
d3a987eded
commit
2846ff7d31
7 changed files with 46 additions and 57 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue