mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2024-12-30 02:37:01 +00:00
Feature: YAML config support
This commit is contained in:
+1
-1
@@ -60,7 +60,7 @@ func ParseLevel(lvl string) (Level, error) {
|
||||
return SilentLevel, nil
|
||||
case "error":
|
||||
return ErrorLevel, nil
|
||||
case "warn":
|
||||
case "warning":
|
||||
return WarnLevel, nil
|
||||
case "info":
|
||||
return InfoLevel, nil
|
||||
|
||||
Reference in New Issue
Block a user