cmd

command
v2.12.0-dev.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2026 License: Apache-2.0, BSD-3-Clause, Apache-2.0 Imports: 2 Imported by: 0

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 ./...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL