Replies: 3 comments 3 replies
-
I keep going back and forth on Task honestly. Lately I've been leaning a bit more against - to solve the logging thing what we could do is add an e.g. |
Beta Was this translation helpful? Give feedback.
-
(EDIT: comment posted before the above) Or maybe could we just add a log to: Lines 68 to 72 in d7c3f9f (but perhaps logging is not the only benefit of having everything go through Task so maybe it's not an excuse to give up on this discussion) |
Beta Was this translation helpful? Give feedback.
-
Closing for now due to #794 |
Beta Was this translation helpful? Give feedback.
-
I use
RUST_LOG=debug
and forcrate::task::Task
it works great, e.g.:but for
std::process::Command
(e.g.):bootc/lib/src/mount.rs
Lines 32 to 41 in d7c3f9f
there's no log, which is unfortunate.
Would it be reasonable to get rid of
Command
altogether?Some obvious concerns is that Task doesn't necessarily provide all the flexibility
Command
does, but I'm sure in most cases that flexibility is unnecessaryBeta Was this translation helpful? Give feedback.
All reactions