libdd-log

Crates.iolibdd-log
lib.rslibdd-log
version1.0.0
created_at2025-11-17 14:24:14.599204+00
updated_at2025-11-17 14:24:14.599204+00
descriptionA bridge from Rust to {language} logging
homepagehttps://github.com/DataDog/libdatadog/tree/main/libdd-log
repositoryhttps://github.com/DataDog/libdatadog/tree/main/libdd-log
max_upload_size
id1936856
size59,390
libdatadog-owners (github:datadog:libdatadog-owners)

documentation

README

libdd-log

Logging library for Datadog products.

Overview

libdd-log provides structured logging capabilities for Datadog libraries with support for log levels, structured fields, and integration with the Datadog logging backend.

Features

  • Structured Logging: Key-value structured log fields
  • Log Levels: Debug, Info, Warn, Error
  • Context: Attach context to log messages
  • Backend Integration: Send logs to Datadog
  • Performance: Low overhead logging
  • Thread Safety: Safe for concurrent use

Example Usage

use libdd_log;

// Log messages
// log::info!("Processing request", request_id = "abc123");
// log::error!("Failed to connect", error = &err);
Commit count: 1422

cargo fmt