diff options
Diffstat (limited to 'vendor/github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/context.go')
-rw-r--r-- | vendor/github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/context.go | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/vendor/github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/context.go b/vendor/github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/context.go deleted file mode 100644 index a39bb7720..000000000 --- a/vendor/github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/context.go +++ /dev/null @@ -1,19 +0,0 @@ -package grpc_logrus - -import ( - "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" - "github.com/sirupsen/logrus" - "golang.org/x/net/context" -) - -// AddFields adds logrus fields to the logger. -// Deprecated: should use the ctxlogrus.Extract instead -func AddFields(ctx context.Context, fields logrus.Fields) { - ctxlogrus.AddFields(ctx, fields) -} - -// Extract takes the call-scoped logrus.Entry from grpc_logrus middleware. -// Deprecated: should use the ctxlogrus.Extract instead -func Extract(ctx context.Context) *logrus.Entry { - return ctxlogrus.Extract(ctx) -} |