forked from forgejo/forgejo
optimize log
This commit is contained in:
parent
38776a0dd5
commit
460aa3eaa9
4 changed files with 77 additions and 15 deletions
|
@ -11,7 +11,7 @@ import (
|
|||
|
||||
var logger *logs.BeeLogger
|
||||
|
||||
func init() {
|
||||
func NewLogger() {
|
||||
logger = logs.NewLogger(10000)
|
||||
logger.SetLogger("console", "")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue