We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b6194b commit cbebe97Copy full SHA for cbebe97
log/log.go
@@ -258,7 +258,7 @@ func (l *Logger) Named(name string, options ...Option) *Logger {
258
// Log logs a message at the specified level with optional attributes,
259
// adding trace and span IDs if the context has a span.
260
func (l *Logger) Log(ctx context.Context, level Level, msg string, args ...Attr) {
261
- if l.match != nil && !l.match(level, msg, args) {
+ if l.match != nil && l.match(level, msg, args) {
262
return
263
}
264
0 commit comments