Skip to content

Commit

Permalink
fix(contrib/sirupsen/logrus): remove output assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
darccio committed Jan 17, 2025
1 parent cca10ca commit 08cb209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/sirupsen/logrus/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ func ExampleHook() {
cLog := logrus.WithContext(sctx).WithTime(time.Date(2000, 1, 1, 1, 1, 1, 0, time.UTC))
// Log as desired using the context-aware logger
cLog.Info("Completed some work!")
// Output:
// You should see:
// {"dd.span_id":0,"dd.trace_id":0,"level":"info","msg":"Completed some work!","time":"2000-01-01T01:01:01Z"}
}

0 comments on commit 08cb209

Please sign in to comment.