mirror of https://github.com/bjdgyc/anylink.git
修改参数比较
This commit is contained in:
parent
14efb14a9a
commit
d36e2fe85a
|
@ -103,7 +103,7 @@ func logLevel2Int(l string) int {
|
|||
}
|
||||
lvl := LogLevelInfo
|
||||
for k, v := range levels {
|
||||
if strings.EqualFold(strings.ToLower(l), strings.ToLower(v)) {
|
||||
if strings.ToLower(l) == strings.ToLower(v) {
|
||||
lvl = k
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue