Archived
1
0

Move connection logic into connection class

- Moved everything I could into the class itself.
- Improve the logging situation a bit.
- Switch some trace logs to debug.
- Get debug port from message arguments.
This commit is contained in:
Asher
2021-04-20 11:17:18 -05:00
parent ae6089f852
commit f0bafa387f
4 changed files with 110 additions and 79 deletions

View File

@ -41,7 +41,7 @@ export const register = async (
if (error) {
return reject(error)
}
logger.trace(plural(count, `${count} active connection`))
logger.debug(plural(count, `${count} active connection`))
resolve(count > 0)
})
})