mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-10-24 17:25:19 +08:00
Add flash
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user