mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-22 17:31:34 +00:00
[log] proper impl of With for filter
This commit is contained in:
@ -45,7 +45,7 @@ func (l *filter) Error(msg string, keyvals ...interface{}) error {
|
||||
}
|
||||
|
||||
func (l *filter) With(keyvals ...interface{}) Logger {
|
||||
return l.next.With(keyvals...)
|
||||
return &filter{next: l.next.With(keyvals...), allowed: l.allowed, errNotAllowed: l.errNotAllowed}
|
||||
}
|
||||
|
||||
// Option sets a parameter for the filter.
|
||||
|
Reference in New Issue
Block a user