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

Unified Diff: examples/eventlog/main.go

Issue 2557593002: Add batch logging support to eventlog. (Closed)
Patch Set: Created 4 years 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
Index: examples/eventlog/main.go
diff --git a/examples/eventlog/main.go b/examples/eventlog/main.go
index 89a2c3959da19a3cdd55742ab2cabb828b7324cd..6d7045090c26d43adfa427e2ae0a8c7e77e72cb1 100644
--- a/examples/eventlog/main.go
+++ b/examples/eventlog/main.go
@@ -16,8 +16,8 @@ import (
)
func main() {
- c := eventlog.NewClient("http://localhost:27910/log")
ctx := context.Background()
+ c := eventlog.NewClient(ctx, "http://localhost:27910/log")
event := c.NewLogEvent(ctx, eventlog.Point())

Powered by Google App Engine
This is Rietveld 408576698