log_activity!() { /* proc-macro */ }Expand description
Emit a structured tracing::info! event for a named activity.
§Description
Previously locked the global LOGGER mutex and called append_log. This expansion
now emits a direct tracing::info! event. No mutex is acquired; no string buffer
is modified. Compatible with async runtimes.
§Usage
ⓘ
log_activity!("encrypt_file", format!(" path={}", path.display()));