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

Unified Diff: common/logging/cloudlog/logging.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/flag/stringsetflag/stringsetflag_test.go ('k') | common/logging/config.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: common/logging/cloudlog/logging.go
diff --git a/common/logging/cloudlog/logging.go b/common/logging/cloudlog/logging.go
index d3554de172981ac499a38639565c5f9b830e3e65..792a0539f0b9234fb1fd015b650189c70216458d 100644
--- a/common/logging/cloudlog/logging.go
+++ b/common/logging/cloudlog/logging.go
@@ -102,7 +102,7 @@ func (l *boundCloudLogger) LogCall(level logging.Level, calldepth int, f string,
text := fmt.Sprintf(f, args...)
fields := logging.GetFields(l.ctx)
if len(fields) > 0 {
- text = text + " " + fields.FieldString(true)
+ text = text + " " + fields.String()
}
// Add logging fields to labels.
« no previous file with comments | « common/flag/stringsetflag/stringsetflag_test.go ('k') | common/logging/config.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698