Documentation
¶
Overview ¶
errlog-vet is a standalone go vet tool bundling the SDK logging safety analyzers: constant message arguments (constantlogmsg), telemetry PII scrubbing (telemetrysafety), and unsafe %v/%+v/%#v format verbs (logformatverbs). The latter two replace the ruleguard rules formerly in rules/telemetry_rules.go and rules/logging_rules.go.
Usage:
go build -o errlog-vet github.com/DataDog/dd-trace-go/v2/internal/telemetry/log/analyzer/cmd go vet -vettool=./errlog-vet ./...
Click to show internal directories.
Click to hide internal directories.