feat(server/debug): Added initial implementation of new Logger (#84)

- Logs out to a file w/ relevant meta data
- Provides better readability for end user

This should help provide better troubleshooting for both
development and end users.

This also fixes any previous catches that were attempting to print stack traces,
causing the [object Object] message to appear.

Co-authored-by: Christopher Gjelten <[email protected]>
This commit is contained in:
TasoandChristopher Gjelten authored and GitHub committed 2021-02-14 17:28:13 -05:00
1 parent a5491302b6
commit 211576e237
18 files changed
+363 -114

No files matched your search

+2 -1
View File
@@ -27,7 +27,8 @@
"fivem-js": "^1.3.1",
"md5": "^2.3.0",
"mysql2": "^2.2.5",
"uuid": "^8.3.2"
"uuid": "^8.3.2",
"winston": "^3.3.3"
},
"devDependencies": {
"@babel/preset-env": "^7.12.1",