0

I started using tracing and other logging libraries in rust but I have a question.

they all of some macros trace, debug, info, warn, error

my question is when should I use which one of them?

I saw some examples in the library docs and info, warn, error are pretty straight forward but trace and debug of very similar and I don't know where I should use them

thanks for helping

NightmareXD
  • 425
  • 1
  • 4
  • 14
  • I suggest reading related questions: https://stackoverflow.com/questions/2031163/when-to-use-the-different-log-levels?rq=2 – Campbell He Jul 18 '23 at 01:51

0 Answers0