fix eventlog format
Brian Tiger Chow committed
Jan 24, 2015 at 01:35 UTC
8c1f93dcf5726c3f80441c5521359d2b6d8d66bd
1 file changed
+1
-1
thirdparty/eventlog/log.go
+1
-1
@@ -78,7 +78,7 @@ type eventLogger struct {
78
79
func (el *eventLogger) EventBegin(ctx context.Context, event string, metadata ...Loggable) DoneCloser {
80
start := time.Now()
81
- el.Event(ctx, fmt.Sprintln(event, "Begin"), metadata...)
81
+ el.Event(ctx, fmt.Sprintf("%sBegin", event), metadata...)
82
return doneCloserFunc(func() {
83
el.Event(ctx, event, append(metadata, LoggableMap(map[string]interface{}{
84
"duration": time.Now().Sub(start),