It makes it a little hard to troubleshoot what's going on, so maybe if we can do this when a client has left to see if there is anyone else and if there is then send this message.
Client leaves -> Check for any other clients connected -> Yes: No need to log
Client leaves -> Check for any other clients connected -> No: Log last client left
It makes it a little hard to troubleshoot what's going on, so maybe if we can do this when a client has left to see if there is anyone else and if there is then send this message.
Client leaves -> Check for any other clients connected -> Yes: No need to log Client leaves -> Check for any other clients connected -> No: Log last client left