qmetrics.net

Log

Lightweight logging facade for Rust libraries and binaries

Frameworks & PlatformsDesktop/CLI app
Log screenshot

The log crate gives Rust code a single logging API that decouples libraries from any one logger backend. Executables pick and initialize a compatible implementation to emit output.

Overview

log is a Rust logging facade: libraries call shared macros and traits without binding to a specific output stack, and the final application chooses which logger actually records messages. If nothing is configured, the facade falls back to a noop path with very low overhead.

Each log event carries a target, level, and message body. Applications set a global logger once at startup; messages emitted before initialization are dropped. Standard macros cover error through trace levels, with filtering by configured maximum level.

Library authors are expected to depend only on log, while binaries wire in implementations such as env_logger, simplelog, log4rs, syslog adapters, platform log sinks, or WebAssembly-oriented loggers listed in the documentation. Optional features add structured key-value fields on records, boxed logger setup, compile-time max level stripping, and serde support for level types.

Custom backends implement the Log trait to control filtering and formatting. The crate documents patterns for executables, dynamic libraries, and compatibility notes between minor API generations.

Key features

  • Macro-based leveled logging API
  • Pluggable logger implementations
  • Noop fallback when unset
  • Optional structured kv feature
  • Compile-time log level filters
  • Log trait for custom backends

Use cases

  • Library logging without backend lock-in
  • Centralized app log configuration
  • Structured diagnostic fields on records

Tags

Similar software

ECC

Open-source agent engineering toolkit for coding harnesses

ECC adds planning, verification, review, memory, skills, and security scanning to coding agents such as Claude Code, Codex, and Cursor. It installs as plugins, packages, and managed adapters across multiple harnesses.

★ 311.7k⟳ 8 days agoMIT
Frameworks & PlatformsDesktop/CLI app

React

JavaScript library for web and native user interfaces

React helps developers build interfaces from reusable components that manage their own state. Views update declaratively when underlying data changes.

★ 253k⟳ 2 days agoMIT
Frameworks & PlatformsDesktop/CLI app

Flutter

Open-source UI framework for multi-platform apps from one codebase

Flutter is an SDK for building user experiences for mobile, web, and desktop from a single codebase. It uses the Dart language and compiles to native machine code or web targets.

★ 181.5k⟳ todayBSD-3-Clause
Open Source Alternative to:Ionic Enterprise

Bootstrap

Responsive HTML, CSS, and JavaScript front-end toolkit

Bootstrap supplies CSS, JavaScript, and Sass-based styles for building responsive, mobile-first sites. It ships prebuilt grid layouts, UI components, and optional JavaScript plugins.

★ 175.1k⟳ 2 days agoMIT

Langflow

Visual low-code builder for AI agents and workflows

Langflow is a visual builder for AI agents and workflows. Flows can be customized in Python and deployed as an API or as an MCP server, with support for major LLMs and vector databases.

★ 157k⟳ todayMIT
Open Source Alternative to:Relevance AIVoiceflow

LangChain

Framework for agents and LLM-powered applications

LangChain helps developers chain interoperable components and integrations to build agents and LLM-powered applications. It offers a standard interface for models, embeddings, vector stores, and related pieces.

★ 150.1k⟳ 2 days agoMIT