Attribute Macros§
- This prefixes all the log lines with
[<name>]
(after the timestamp). It works by making a tracing’s span that is propagated to all the child calls and child tasks (futures) if they are spawned properly with theSpawnHandle
(seeTaskManager
in sc-cli) or if the futures use.in_current_span()
(see tracing-futures).