My only concern with this, is the log type. Errors are always shown in the logs, and it seems like that the socket outputs quite a few errors even in the case where it is working fine. This would be a total nightmare for the user to think that anything is wrong with it. Debug type is hidden by default, but even then, we might pollute this more. Thats the disadvantage of using my own logging here and not something like electron-log, which would log these messages via a file a bit more hidden from the end user.
My only concern with this, is the log type. Errors are always shown in the logs, and it seems like that the socket outputs quite a few errors even in the case where it is working fine. This would be a total nightmare for the user to think that anything is wrong with it. Debug type is hidden by default, but even then, we might pollute this more. Thats the disadvantage of using my own logging here and not something like electron-log, which would log these messages via a file a bit more hidden from the end user.