mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-11-16 21:23:44 +08:00
🔖 chore: migration logger package
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package config
|
||||
|
||||
import (
|
||||
"one-api/common/logger"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
@@ -18,7 +19,7 @@ func InitConf() {
|
||||
setEnv()
|
||||
|
||||
if viper.GetBool("debug") {
|
||||
common.SysLog("running in debug mode")
|
||||
logger.SysLog("running in debug mode")
|
||||
}
|
||||
|
||||
common.IsMasterNode = viper.GetString("node_type") != "slave"
|
||||
|
||||
Reference in New Issue
Block a user