mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-30 23:37:44 +00:00
Log level: none
This commit is contained in:
1 parent
8b71647b9d
commit
cef5386a21
2 files changed
+3
No files matched your search
@@ -76,6 +76,8 @@ func (this *LogConfig) UnmarshalJSON(data []byte) error {
|
||||
this.LogLevel = log.InfoLevel
|
||||
case "error":
|
||||
this.LogLevel = log.ErrorLevel
|
||||
case "none":
|
||||
this.LogLevel = log.NoneLevel
|
||||
default:
|
||||
this.LogLevel = log.WarningLevel
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user