Logging can get complicated, quickly. Considering that you have some code, how do you add logging to it? What library(ies) do you use?
What are some good code techniques for getting the most out of your logging statements while having minimal impact on your application?
Some aspects I would like to add about logging practices.