Simple Logger (Add more later ofc)

This commit is contained in:
Asspixel 2022-10-07 22:54:17 -04:00 committed by GitHub
parent 37b4c6665c
commit 10f2d253cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,6 +129,7 @@ server.listen(listenPort, function() {
server.on('connection', function(socket) {
let client = null;
console.log("Connection Made")
let determinedClient = false;
@ -192,7 +193,7 @@ function makeClient(host,port,socket,cb){
});
client.on('error', function(err) {
//console.log(`Client Error: ${err}`);
console.log(`Client Error: ${err}`);
});
}
@ -211,6 +212,6 @@ function makeWsMcClient(ws,cb){
});
client.on('error', function(err) {
//console.log(`Client Error: ${err}`);
console.log(`Client Error: ${err}`);
});
}