kubernetes-sigs / kubernetes-sigs/logtools
automatically detect and lint wrappers around log calls
Open
triage/accepted
- Dominant language
- Go
- Stars
- 18
- Forks
- 20
- Avg merge
- 5d 4h
- Merged PRs (30d)
- 1
Description
When a wrapper functions accepts variadic arguments and passes them through to a log call, then the same rules as for that log call also apply to the wrapper.
logcheck previously side-stepped that issue by not allowing passing of unknown slices to log calls. https://github.com/kubernetes-sigs/logtools/pull/20 relaxed that.
Contributor guide
Assessment
This issue has not been assessed yet.