#logging #async

logforth-append-async

Asynchronous appender for Logforth

3 unstable releases

Uses new Rust 2024

0.3.0 Nov 3, 2025
0.2.1 Oct 6, 2025
0.2.0 Oct 6, 2025

#1373 in #logging

Download history 4/week @ 2025-11-23 9/week @ 2025-11-30 2/week @ 2025-12-07 6/week @ 2025-12-14 1/week @ 2025-12-21 40/week @ 2026-01-04 144/week @ 2026-01-11 149/week @ 2026-01-18 203/week @ 2026-01-25 85/week @ 2026-02-01 210/week @ 2026-02-08 114/week @ 2026-02-15 121/week @ 2026-02-22 79/week @ 2026-03-01

526 downloads per month
Used in logforth

Apache-2.0

130KB
2.5K SLoC

A composable appender, logging and flushing asynchronously.


Async Appender

This appender is a remix of spdlog-rs's AsyncPoolSink, with several modifications to fit this crate's need:

  • Instead of a thread pool, it uses a single background thread to drain the log queue.

Dependencies

~1.5MB
~25K SLoC