Registry / logging / datadog-datadog-agent-pkg-util-log

datadog-datadog-agent-pkg-util-log

JSON →
library0.80.1gogounverified

Package log implements logging for the Datadog agent, supporting multiple destinations and secret scrubbing.

go get github.com/DataDog/datadog-agent/pkg/util/log
INSTALL
IMPORT
SIG · DATADOG-DATADOG-AG
D
datadog-datadog-agent-pkg-util-log
logginggov0.80.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

log
github.com/DataDog/datadog-agent/pkg/util/log

Log an informational message using the Datadog agent logger.

package main import ( "github.com/DataDog/datadog-agent/pkg/util/log" ) func main() { log.Infof("Hello, Datadog!") }
Debug
Known issues
breakingThis package is not designed as a general-purpose logging system and its API may change incompatibly.
fix
Use a stable logging library like logrus or zap for general use.
affects: >=0.0.0
Upgrade
Version history
0.80.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
46 hits · last 30 days
node
38
OpenAI (training)
1
Resources