Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(615)

Unified Diff: common/logging/exported.go

Issue 1622553005: Remove log filtering and add stringsetflag. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: error on empty Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « common/logging/config.go ('k') | common/logging/fields.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: common/logging/exported.go
diff --git a/common/logging/exported.go b/common/logging/exported.go
index 1c4357de956948806f3b8959071d5a3e44534ffe..471f385ec868473a4ea5c3ca788eb3725fe161a5 100644
--- a/common/logging/exported.go
+++ b/common/logging/exported.go
@@ -8,11 +8,6 @@ import (
"golang.org/x/net/context"
)
-// SetFilter sets the context's logging filter value.
-func SetFilter(c context.Context, filter string) context.Context {
- return SetField(c, FilterOnKey, filter)
-}
-
// SetError returns a context with its error field set.
func SetError(c context.Context, err error) context.Context {
return SetField(c, ErrorKey, err)
« no previous file with comments | « common/logging/config.go ('k') | common/logging/fields.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698