Use tracing for app-level logging.
You can output logs to a log file, or to the console(stdout).
https://github.com/tokio-rs/tracing
StackOverflow - How to use the tracing library?
Last updated 1 year ago