Browse Source

skip check error in example

pull/5/head v0.3.2
andrey1s 3 years ago
parent
commit
fac9762f72
  1. 2
      logger_example_caller_test.go

2
logger_example_caller_test.go

@ -13,7 +13,7 @@ func ExampleNew_withCaller() {
) )
logger.Err(ctx, "same error message") logger.Err(ctx, "same error message")
logger.InfoKVs(ctx, "same info message", "api-version", 0.1) logger.InfoKVs(ctx, "same info message", "api-version", 0.1)
logger.Write([]byte("same write message")) _, _ = logger.Write([]byte("same write message"))
// Output: // Output:
// msg="same error message" level=error caller=logger_example_caller_test.go:14 // msg="same error message" level=error caller=logger_example_caller_test.go:14

Loading…
Cancel
Save