Log level: none

This commit is contained in:
v2ray committed 2016-04-29 11:36:27 +02:00
1 parent 8b71647b9d
commit cef5386a21
2 files changed
+3

No files matched your search

+2
View File
@@ -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
}