You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue was labelled with: A-libs in the Rust repository
Currently, the logger is stored in TLS. It's fine to setup a logger at the start of your program, but if you use spawn a lot, it's cumbersome to remember in each call to setup your logger again.
I think tasks should inherit the logger from the task that spawned it, perhaps with an option to turn it off (less important).
cc #3309
The text was updated successfully, but these errors were encountered:
Issue by seanmonstar
Wednesday Aug 27, 2014 at 16:24 GMT
For earlier discussion, see rust-lang/rust#16794
This issue was labelled with: A-libs in the Rust repository
Currently, the logger is stored in TLS. It's fine to setup a logger at the start of your program, but if you use
spawn
a lot, it's cumbersome to remember in each call to setup your logger again.I think tasks should inherit the logger from the task that spawned it, perhaps with an option to turn it off (less important).
cc #3309
The text was updated successfully, but these errors were encountered: