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 committed Mar 30, 2024
1 parent fd3fe4c commit 16f2418
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 16f2418

Please sign in to comment.