Skip to content

Commit

Permalink
Update zaptest/observer/observer.go
Browse files Browse the repository at this point in the history
  • Loading branch information
sywhang authored Jul 22, 2024
1 parent fd64def commit f8e0ac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zaptest/observer/observer.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func (o *ObservedLogs) FilterMessage(msg string) *ObservedLogs {
})
}

// FilterLoggerName filters entries to those that have the specified logger name.
// FilterLoggerName filters entries to those logged through logger with the specified logger name.
func (o *ObservedLogs) FilterLoggerName(name string) *ObservedLogs {
return o.Filter(func(e LoggedEntry) bool {
return e.LoggerName == name
Expand Down

0 comments on commit f8e0ac0

Please sign in to comment.