#logging #file #dummy

log-reroute

Support to change logging target for the log crate

9 releases

0.1.8 Sep 12, 2021
0.1.7 Feb 21, 2021
0.1.6 Nov 17, 2020
0.1.5 Dec 25, 2019
0.1.1 Jul 23, 2018

#436 in Debugging

Download history 1159/week @ 2024-12-13 323/week @ 2024-12-20 103/week @ 2024-12-27 932/week @ 2025-01-03 1424/week @ 2025-01-10 1111/week @ 2025-01-17 2064/week @ 2025-01-24 3768/week @ 2025-01-31 2755/week @ 2025-02-07 3001/week @ 2025-02-14 3011/week @ 2025-02-21 3620/week @ 2025-02-28 2004/week @ 2025-03-07 2853/week @ 2025-03-14 1931/week @ 2025-03-21 930/week @ 2025-03-28

8,245 downloads per month
Used in 7 crates (4 directly)

Apache-2.0/MIT

9KB
68 lines

Log-reroute

Actions Status codecov docs

The log allows setting the target logger, but only once during the lifetime of the application. This library helps with that by providing a logger proxy. The logger behind the proxy can be switched as necessary.

Dependencies

~320KB