async-rs / async-log

Async tracing capabilities for the log crate
Apache License 2.0
98 stars 5 forks source link

Make `task_id` optional #10

Open dignifiedquire opened 4 years ago

dignifiedquire commented 4 years ago

I have a system that only uses regular threads, but no Futures, so I was wondering if there could be an option to disable logging task_ids, as this is still really nice.

dignifiedquire commented 4 years ago

maybe simply putting all Future related things behind a feature flag, such that as a user this can be set at compile time