mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-21 16:56:27 -05:00
remove unused file
This commit is contained in:
parent
2f771e7742
commit
c8f48fde4d
@ -1,25 +0,0 @@
|
||||
package log
|
||||
|
||||
func (v *Config) Apply() error {
|
||||
if v == nil {
|
||||
return nil
|
||||
}
|
||||
if v.AccessLogType == LogType_File {
|
||||
if err := InitAccessLogger(v.AccessLogPath); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
if v.ErrorLogType == LogType_None {
|
||||
SetLogLevel(LogLevel_Disabled)
|
||||
} else {
|
||||
if v.ErrorLogType == LogType_File {
|
||||
if err := InitErrorLogger(v.ErrorLogPath); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
SetLogLevel(v.ErrorLogLevel)
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
Loading…
Reference in New Issue
Block a user