awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
rust-lang avatar

rust-lang/log

0
View on GitHub↗
2,518 stars·286 forks·Rust·Apache-2.0·13 vuesdocs.rs/log↗

Log

This project provides a lightweight logging facade for Rust applications, serving as a standardized interface for recording diagnostic messages. By decoupling application code from specific logging backends, it allows developers to maintain a consistent diagnostic surface while remaining independent of the underlying implementation.

The framework enables the attachment of structured key-value metadata to log records, providing additional context that facilitates more granular filtering and analysis of application events. Its core design is built to be minimal, ensuring compatibility with resource-constrained environments and systems that lack standard library support.

The system manages diagnostic events through a global dispatcher that supports the dynamic registration of logging providers. This architecture allows for the integration of external logging frameworks and ensures that diagnostic data can be captured and persisted across diverse execution environments.

Features

  • Logging Abstractions - Decouples application code from specific logging implementations to allow switching between different diagnostic frameworks.
  • Logging Decoupling - Acts as a lightweight facade that decouples application code from specific logging backends to allow flexible diagnostic output management.
  • Severity-Level Log Writers - Records diagnostic information at various severity levels to track execution flow in real time.
  • Backend Registrations - Enables late-binding of logging providers by updating the global logger instance during application initialization.
  • Persistence Flushing - Persists buffered or asynchronous log data to ensure no diagnostic information is lost during shutdown or failure.
  • Embedded Diagnostics - Implements reliable logging mechanisms in resource-constrained hardware environments lacking standard library support.
  • Global Diagnostic Dispatchers - Manages a thread-safe global registry to route diagnostic events from disparate modules to a single destination.
  • Freestanding Environment Support - Operates in restricted environments without standard library dependencies using alternative synchronization mechanisms.
  • Interface-Driven Abstraction - Provides a shared trait-based interface to decouple application code from specific logging backends.
  • Zero-Dependency Libraries - Ensures compatibility with resource-constrained environments by relying only on minimal language primitives.
  • Application Observability - Provides a standardized interface for recording diagnostic messages and tracking execution flow within Rust applications.
  • Context Attachments - Appends arbitrary key-value pairs to log entries to provide additional context for debugging complex issues.
  • Application Logging - Records diagnostic messages and state changes through a unified interface independent of the logging backend.
  • Compile-Time Log Filters - Evaluates log severity levels during compilation to strip out low-priority diagnostic statements and minimize runtime performance overhead.
  • Logging Framework Bridges - Routes events from external sources into a unified logging pipeline by constructing log records.
  • Structured Logging - Enables the attachment of structured key-value metadata to log records for granular filtering and analysis.
  • Structured Logging Frameworks - Provides a framework for recording diagnostic messages with associated key-value metadata to improve observability.
  • Structured Log Field Attachments - Allows attaching key-value pairs to log records through a type-safe interface for richer diagnostic context.
  • Log Serialization Utilities - Converts log levels and filters into standard data formats for export or transmission to remote systems.

Historique des stars

Graphique de l'historique des stars pour rust-lang/logGraphique de l'historique des stars pour rust-lang/log

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Collections incluant Log

Sélections manuelles où Log apparaît.
  • Rust Logging Libraries

Questions fréquentes

Que fait rust-lang/log ?

This project provides a lightweight logging facade for Rust applications, serving as a standardized interface for recording diagnostic messages. By decoupling application code from specific logging backends, it allows developers to maintain a consistent diagnostic surface while remaining independent of the underlying implementation.

Quelles sont les fonctionnalités principales de rust-lang/log ?

Les fonctionnalités principales de rust-lang/log sont : Logging Abstractions, Logging Decoupling, Severity-Level Log Writers, Backend Registrations, Persistence Flushing, Embedded Diagnostics, Global Diagnostic Dispatchers, Freestanding Environment Support.

Quelles sont les alternatives open-source à rust-lang/log ?

Les alternatives open-source à rust-lang/log incluent : tokio-rs/tracing — This project is a structured tracing framework for Rust that serves as an async-aware instrumentation library and… sirupsen/logrus — Logrus is a structured logging library for Go that produces machine-readable output using key-value pairs and JSON… delgan/loguru — Loguru is a Python logging library and thread-safe framework designed for recording system events and diagnostic… hynek/structlog — structlog is a structured logging library for Python that treats log entries as dictionaries instead of strings. This… metrics-rs/metrics — This project is a unified observability framework for Rust applications, designed to capture, aggregate, and report… dotnet/core — This project is a cross-platform development framework and managed runtime environment designed for building…

Alternatives open source à Log

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Log.
  • tokio-rs/tracingAvatar de tokio-rs

    tokio-rs/tracing

    6,750Voir sur GitHub↗

    This project is a structured tracing framework for Rust that serves as an async-aware instrumentation library and telemetry data collector. It provides a structured logging facade and the tools necessary to record, filter, and route event-based diagnostic data from both standard applications and embedded systems. The framework distinguishes itself through a core implementation that supports bare-metal and no-standard-library environments without requiring a dynamic memory allocator. It specifically handles the complexities of asynchronous workflows by propagating diagnostic contexts across fu

    Rustdiagnosticslogginglogging-and-metrics
    Voir sur GitHub↗6,750
  • sirupsen/logrusAvatar de sirupsen

    sirupsen/logrus

    25,736Voir sur GitHub↗

    Logrus is a structured logging library for Go that produces machine-readable output using key-value pairs and JSON formatting. It serves as a pluggable logging framework providing a thread-safe event logger with configurable mutex locking to manage concurrent writes across multiple goroutines. The project distinguishes itself through a pluggable hook system that routes log entries to external services or custom destinations. It also features a contextual logger capable of attaching persistent metadata and request-scoped fields to entries to improve traceability. The framework covers broad ob

    Gogologginglogrus
    Voir sur GitHub↗25,736
  • delgan/loguruAvatar de Delgan

    Delgan/loguru

    23,964Voir sur GitHub↗

    Loguru is a Python logging library and thread-safe framework designed for recording system events and diagnostic messages. It functions as a structured logging tool that can serialize messages into JSON strings with metadata for automated parsing and analysis. The library includes a specialized exception tracker that captures unhandled crashes across main and background threads, rendering detailed stack traces that include local variable values. It further distinguishes itself through a unified routing pipeline that can intercept messages from the standard library logging module and dispatch

    Python
    Voir sur GitHub↗23,964
  • hynek/structlogAvatar de hynek

    hynek/structlog

    4,835Voir sur GitHub↗

    structlog is a structured logging library for Python that treats log entries as dictionaries instead of strings. This data-centric approach enables machine-readable output and precise data analysis by generating log entries as key-value pairs. It functions as both a standalone logging framework and a compatibility layer that adds structured capabilities to the Python standard library logging module. The library features a processor-pipeline architecture that passes log dictionaries through a sequence of functions to modify events or add metadata before final rendering. It includes a contextua

    Python
    Voir sur GitHub↗4,835
Voir les 30 alternatives à Log→