Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/grpc-ecosystem/go-grpc-middleware/tags/logrus/context.go')
-rw-r--r--vendor/github.com/grpc-ecosystem/go-grpc-middleware/tags/logrus/context.go25
1 files changed, 0 insertions, 25 deletions
diff --git a/vendor/github.com/grpc-ecosystem/go-grpc-middleware/tags/logrus/context.go b/vendor/github.com/grpc-ecosystem/go-grpc-middleware/tags/logrus/context.go
deleted file mode 100644
index 2596be89f..000000000
--- a/vendor/github.com/grpc-ecosystem/go-grpc-middleware/tags/logrus/context.go
+++ /dev/null
@@ -1,25 +0,0 @@
-package ctx_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)
-}
-
-// ToContext adds the logrus.Entry to the context for extraction later.
-// Depricated: should use ctxlogrus.ToContext instead
-func ToContext(ctx context.Context, entry *logrus.Entry) context.Context {
- return ctxlogrus.ToContext(ctx, entry)
-}