Skip to content

Add EmptyFields method to remove all the fileds from logger #447

Add EmptyFields method to remove all the fileds from logger

Add EmptyFields method to remove all the fileds from logger #447

Triggered via pull request March 4, 2024 09:45
@GRbitGRbit
synchronize #575
GRbit:master
Status Failure
Total duration 1m 50s
Artifacts

test.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 4 warnings
coverage
Process completed with exit code 1.
test (1.18.x, ubuntu-latest): 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 (1.18.x, ubuntu-latest)
Process completed with exit code 2.
test (1.21.x, ubuntu-latest)
The job was canceled because "_1_18_x_ubuntu-latest" failed.
test (1.21.x, ubuntu-latest): 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 (1.21.x, ubuntu-latest)
The operation was canceled.
test (1.21.x, macos-latest)
The job was canceled because "_1_18_x_ubuntu-latest" failed.
test (1.21.x, macos-latest): 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 (1.21.x, macos-latest)
The operation was canceled.
test (1.18.x, macos-latest)
The job was canceled because "_1_18_x_ubuntu-latest" failed.
test (1.18.x, macos-latest): 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 (1.18.x, macos-latest)
The operation was canceled.
test (1.18.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/zerolog/zerolog. Supported file pattern: go.sum
test (1.21.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/zerolog/zerolog. Supported file pattern: go.sum
test (1.21.x, macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/zerolog/zerolog. Supported file pattern: go.sum
test (1.18.x, macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/zerolog/zerolog. Supported file pattern: go.sum