This commit is contained in:
arm64v8a
2023-04-09 13:37:14 +09:00
parent d6de7e4aff
commit caca5a59f6
5 changed files with 14 additions and 8 deletions

View File

@@ -40,8 +40,7 @@ func setupCore() {
// core setup
os.Setenv("v2ray.conf.geoloader", "memconservative")
neko_log.SetupLog(50*1024, "./neko.log")
_ = appLog.RegisterHandlerCreator(appLog.LogType_Console, func(lt appLog.LogType,
options appLog.HandlerCreatorOptions) (commonLog.Handler, error) {
_ = appLog.RegisterHandlerCreator(appLog.LogType_Console, func(lt appLog.LogType, options appLog.HandlerCreatorOptions) (commonLog.Handler, error) {
return commonLog.NewLogger(func() commonLog.Writer {
return &v2rayLogWriter{}
}), nil