cihub / seelog

Seelog is a native Go logging library that provides flexible asynchronous dispatching, filtering, and formatting.
BSD 3-Clause "New" or "Revised" License
1.64k stars 244 forks source link

Test failure: TestCustomFormatterRegistration #181

Open major opened 2 years ago

major commented 2 years ago

go version: go version go1.18.5 linux/amd64

Testing    in: /builddir/build/BUILD/seelog-f561c5e57575bb1e0a2167028b7339b3a8d16fb4/_build/src
         PATH: /builddir/build/BUILD/seelog-f561c5e57575bb1e0a2167028b7339b3a8d16fb4/_build/bin:/builddir/.local/bin:/builddir/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin
       GOPATH: /builddir/build/BUILD/seelog-f561c5e57575bb1e0a2167028b7339b3a8d16fb4/_build:/usr/share/gocode
  GO111MODULE: off
      command: go test -buildmode pie -compiler gc -ldflags " -X github.com/cihub/seelog/version.commit=f561c5e57575bb1e0a2167028b7339b3a8d16fb4 -X github.com/cihub/seelog/version=2.6 -extldflags '-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/seelog-f561c5e57575bb1e0a2167028b7339b3a8d16fb4/.package_note-golang-github-cihub-seelog-2.6-1.20220804gitf561c5e.fc36.x86_64.ld '"
      testing: github.com/cihub/seelog
github.com/cihub/seelog
--- FAIL: TestCustomFormatterRegistration (0.00s)
    format_test.go:235: Custom formatter: invalid output. Expected: 'test TEST github.com/cihub/seelog.TestCustomFormatterRegistration TEST 123'. Got: 'test TEST github.com/cihub/seelog.currentContext TEST 123'