comment docs are out of date, recommend code style that kubernetes-sigs/logtools warns about #405
Labels
kind/documentation
Categorizes issue or PR as related to documentation.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
I tried doing
which I know used to work, but apparently now it doesn't, so I checked the klog sources, and
klog.go
says:Ignoring the comment, I dug further and found the
Enabled()
function and then it compiled, but it turns out that golangci-lint still doesn't like it:(which, FTR, is a terrible API though I don't have any ideas on fixing it)
The whole introductory doc comment in
klog.go
needs a rewrite/update, which maybe ought to be copied to the README?/kind documentation
The text was updated successfully, but these errors were encountered: