Three tips on logging your code
- Nov 23, 2022
- 1 min read
Logging is like brushing your teeth every morning. The more you do it, the less hassle it seems. When your program crashes, logging gives you the insight to track and debug your code.
So, here are three best tips we find useful while logging:
πΆπππ πππ πππππππππ πππ πππππππππ ππππππ πππ π - we often find programmers overlogging causing significant time loss to filter when an error occurs.
πΊππππ πππ πππ ππ π ππππππ ππππππππ - when working on a project in a team, it is best to make the log visible to everyone involved for better efficiency and avoid miscommunication.
π·πππππ πππ πππππ - Categorize and document with a universal language. It makes it easier to recheck the code over time.
There you go.
πππππ πππππππ πππ πππππ π’πππ ππππ πππππ .





Comments