awesome-repositories.com
Blog
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
Delgan avatar

Delgan/loguru

0
View on GitHub↗
23,964 stars·797 forks·Python·MIT·7 viewsloguru.readthedocs.io↗

Loguru

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 them to multiple output destinations.

The framework provides comprehensive log storage management, including automated file rotation, compression, and retention policies. It ensures data integrity across multiple threads and processes using asynchronous message queuing and improves efficiency by deferring the evaluation of expensive log expressions until emission.

Configuration can be managed through custom severity levels and system environment variables.

Features

  • Application Logging - Provides a standardized framework for recording system events and diagnostic messages in Python applications.
  • Structured Log Serializers - Serializes log messages and metadata into JSON strings for automated parsing and analysis.
  • Logging Libraries - Provides a simplified and powerful interface for recording diagnostic messages in Python.
  • Variable Introspection - Renders detailed exception logs that include local variable values to accelerate troubleshooting.
  • Exception Traceback Capture - Captures unhandled crashes and renders detailed stack traces with variable values for faster debugging.
  • Process Exception Interception - Hooks into the runtime to capture uncaught exceptions from both main and background threads.
  • Thread-Safe Logging - Ensures log integrity across multiple threads and processes using an asynchronous message queuing system.
  • Thread-Safe Logging Frameworks - Ensures log integrity across multiple threads and processes using asynchronous message queuing.
  • Application Event Loggers - Captures system events and exceptions across application modules to facilitate debugging and auditing.
  • Application Log Routing - Implements a routing system to dispatch log messages to multiple destinations based on category and configuration.
  • Log Rotation Utilities - Provides automated log rotation, compression, and retention policies to manage disk space.
  • Structured Logging - Serializes log messages into JSON strings with metadata for automated parsing and analysis.
  • Structured Logging Frameworks - Implements a framework for generating machine-readable JSON logs to facilitate production analysis.
  • Deferred Log Evaluation - Defers the execution of expensive string formatting and function calls until the logging level confirms emission.
  • Variable-Aware Formatting - Renders detailed exception logs that include variable values within the stack trace for faster debugging.
  • Custom Severity Levels - Allows the runtime definition and registration of custom severity levels for granular event categorization.
  • Log Sinks - Dispatches log records to multiple pluggable output destinations through a unified configuration interface.
  • Logging Pipelines - Implements a unified routing pipeline that intercepts standard library logs and dispatches them to multiple destinations.
  • Standard Library Interceptors - Captures messages from the built-in Python logging module and propagates them through a unified processing pipeline.
  • Logging - Library for simplified, enjoyable logging.
  • Developer Tools - Simplified logging library.
  • General Utilities - Simplified logging library for Python.
  • Logging and Output - Simplifies logging with a clean, easy-to-use API.
  • Logging Frameworks - Simplified and user-friendly logging for Python.

Star history

Star history chart for delgan/loguruStar history chart for delgan/loguru

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Loguru

Similar open-source projects, ranked by how many features they share with Loguru.
  • winstonjs/winstonwinstonjs avatar

    winstonjs/winston

    24,478View on GitHub↗

    Winston is a versatile logging library for Node.js designed to record system events and metadata. It functions as a multi-transport log manager that routes data to various destinations and a structured log formatter that transforms entries into JSON or plain text. The project is distinguished by its pluggable transport architecture, which decouples the logging interface from delivery mechanisms. This allows for the creation of custom transport extensions and the use of hierarchical logger instances to inherit configurations while attaching persistent metadata to downstream messages. The libr

    JavaScript
    View on GitHub↗24,478
  • sirupsen/logrussirupsen avatar

    sirupsen/logrus

    25,736View on 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
    View on GitHub↗25,736
  • gabime/spdloggabime avatar

    gabime/spdlog

    28,922View on GitHub↗

    spdlog is a high-performance C++ logging library designed to record diagnostic messages and application events. It serves as an asynchronous logging framework and thread-safe library that coordinates access across concurrent threads to maintain message integrity. The project functions as a multi-target log router, distributing single events to multiple destinations such as consoles, files, and system daemons. It includes a log rotation manager that handles file lifecycles through basic, rotating, or daily rollover strategies to prevent disk exhaustion. The library covers a broad range of cap

    C++cppcpp11header-only
    View on GitHub↗28,922
  • amrayn/easyloggingppamrayn avatar

    amrayn/easyloggingpp

    3,937View on GitHub↗

    Easyloggingpp is a C++ logging library and thread-safe logging framework used for recording diagnostic messages and application events. It functions as an asynchronous logger, processing messages on a background thread to reduce latency and prevent blocking the main execution path. The project includes a log rotation manager to automatically truncate or roll over files once they reach a specified disk size limit. It also serves as a performance tracking tool for measuring function execution timing and recording checkpoints to identify processing bottlenecks. The library covers a broad range

    C++
    View on GitHub↗3,937
See all 30 alternatives to Loguru→

Frequently asked questions

What does delgan/loguru do?

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.

What are the main features of delgan/loguru?

The main features of delgan/loguru are: Application Logging, Structured Log Serializers, Logging Libraries, Variable Introspection, Exception Traceback Capture, Process Exception Interception, Thread-Safe Logging, Thread-Safe Logging Frameworks.

What are some open-source alternatives to delgan/loguru?

Open-source alternatives to delgan/loguru include: winstonjs/winston — Winston is a versatile logging library for Node.js designed to record system events and metadata. It functions as a… sirupsen/logrus — Logrus is a structured logging library for Go that produces machine-readable output using key-value pairs and JSON… gabime/spdlog — spdlog is a high-performance C++ logging library designed to record diagnostic messages and application events. It… amrayn/easyloggingpp — Easyloggingpp is a C++ logging library and thread-safe logging framework used for recording diagnostic messages and… qos-ch/logback — Logback is a Java logging framework used to record system events and diagnostic messages through a programmable API.… serilog/serilog — Serilog is a structured logging library for .NET applications that records events as rich data objects instead of…