Skip to content

Commit

Permalink
refactor: fix typo in var name
Browse files Browse the repository at this point in the history
  • Loading branch information
Crocmagnon authored and fsamin committed Jul 29, 2024
1 parent 6639a3c commit d5f7e5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions log.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ func (l *Logger) call(ctx context.Context, level Level, format string, args ...i
for _, k := range l.GetRegisteredFields() {
v := ctx.Value(k)
if v != nil {
if exludeValue, has := mExcludeRules[k]; has {
if v == exludeValue {
if excludeValue, has := mExcludeRules[k]; has {
if v == excludeValue {
return
}
}
Expand Down

0 comments on commit d5f7e5e

Please sign in to comment.