|0.1.6||Jan 5, 2023|
|0.1.5||Feb 5, 2022|
|0.1.4||Aug 20, 2020|
|0.1.3||May 14, 2020|
|0.1.0||Jul 30, 2018|
#56 in Debugging
113,297 downloads per month
Used in 98 crates (2 directly)
File per thread logger
This is a thread-safe logger that will write logs to files, each thread owning its own file.
Put this in your
[dependencies] file-per-thread-logger = "0.1.2"
Then add this to your code, once per thread:
Then each use of
log's primitive will log into files named the following way:
- the main thread get a file that's suffixed after the program's name.
- unnamed threads get a file suffixed with ThreadIdN where N is the thread's id number.
- named threads get a file suffixed with the thread's name.