Add EmptyFields method to remove all the fileds from logger #448
Annotations
2 errors and 1 warning
Test:
log_test.go#L154
New(out).With().Str("string", "foo").Stringer("stringer", net.IP{…}).Stringer("stringer_nil", nil).EmptyFields undefined (type Context has no field or method EmptyFields)
|
Test
Process completed with exit code 2.
|
Install Go
Restore cache failed: Dependencies file is not found in /home/runner/work/zerolog/zerolog. Supported file pattern: go.sum
|
Loading