Update vendoring (#1304)
Update to current vendoring. Signed-off-by: Ben Kochie <superq@gmail.com>
This commit is contained in:
parent
b1298677aa
commit
e71e9f5a2f
160 changed files with 3453 additions and 2729 deletions
6
vendor/github.com/sirupsen/logrus/exported.go
generated
vendored
6
vendor/github.com/sirupsen/logrus/exported.go
generated
vendored
|
|
@ -1,6 +1,7 @@
|
|||
package logrus
|
||||
|
||||
import (
|
||||
"context"
|
||||
"io"
|
||||
"time"
|
||||
)
|
||||
|
|
@ -55,6 +56,11 @@ func WithError(err error) *Entry {
|
|||
return std.WithField(ErrorKey, err)
|
||||
}
|
||||
|
||||
// WithContext creates an entry from the standard logger and adds a context to it.
|
||||
func WithContext(ctx context.Context) *Entry {
|
||||
return std.WithContext(ctx)
|
||||
}
|
||||
|
||||
// WithField creates an entry from the standard logger and adds a field to
|
||||
// it. If you want multiple fields, use `WithFields`.
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue