mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-08-08 06:32:04 +08:00
修改参数比较
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user