These logs are captured by executables that call tofn and implement a
subscriber (such as tofnd). At this point, tests won't be able to
capture log events. If we want to do that, we need to import
tracing-subscriber = "0.2" and use tracing_subscriber::fmt::init() inside each
test.
Furthermore, prints inside tests are not changed into logs.
These logs are captured by executables that call tofn and implement a subscriber (such as tofnd). At this point, tests won't be able to capture log events. If we want to do that, we need to import
tracing-subscriber = "0.2"
and usetracing_subscriber::fmt::init()
inside each test.Furthermore, prints inside tests are not changed into logs.