Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories โ IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2019-09-12 00:00:00Z and 2019-09-13 00:00:00Z
Are there any best practices for loggigng/printing debug/normal information?
I thought it is always best to log after it is done. So if it is a message for the user for example he knows that it already happend.
For example a chat message when a player left the game. Should only appear when the player is already gone.
buut.. i was just thinking for debugging purposes it might be more interesting to see what was initilizied and not finished in case of a crash. So you know that the disconnect caused the crash if you look at the logs.
Any thoughts or related ideas?