Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Off-chain, Polylog] feat: polylog context integration (#218)
* chore: add `Level` interface * test: add testutils * chore: improve interface godocs * refactor: function signatures to types * fix: isolate #Func() sub-test * chore: add zerolog logger implementation * chore: comment out flaky scenario & add TODO comment * refactor: mv pkg/polylog/polyzero/doc.go pkg/polylog/polyzero/godoc.go * refactor: mv pkg/polylog/doc.go pkg/polylog/godoc.go * fix: `polyzero.zerologLogger#WithContext()` - test forthcoming in #218 * fix: add missing `polylog.CtxKey` const * feat: add `polylog.Ctx()` function * chore: add `polyzero.GetZerologLogger()` w/ `test` build constraint * chore: add test build tag to golangci-lint run call * test: add testable example * chore: setup `polylog.DefaultContextLogger` * chore: update godoc comment * chore: review feedback improvements Co-authored-by: Daniel Olshansky <[email protected]> * chore: review feedback improvements Co-authored-by: Daniel Olshansky <[email protected]> * chore: review feedback improvements * chore: review feedback improvements * fix: goimports * fix: test * chore: review feedback improvements Co-authored-by: Daniel Olshansky <[email protected]> * chore: chore: review feedback improvements Co-authored-by: Daniel Olshansky <[email protected]> * chore: add event method names to test cases * chore: update go.mod * chore: rename `FnMethodSpy` -> `EventFuncSpy` Co-authored-by: Daniel Olshansky <[email protected]> * refactor: rename `FnMethodSpy` -> `EventFuncSpy` * chore: review feedback improvements Co-authored-by: Daniel Olshansky <[email protected]> * chore: review feedback improvements Co-authored-by: Daniel Olshansky <[email protected]> --------- Co-authored-by: Daniel Olshansky <[email protected]>
- Loading branch information