monkeytype/backend
Rizwan Mustafa 020ac5cb24
Add logging support from Winston with colored output (#2774)
* Converted initial outputs to color outputs

* Some more coloring

* Colored all error outputs

* Completed coloring of outputs

* Created basic logger instance

* Moved over to Winston for logging

* Remove unnnecessary stuff

* Added max file size

* Renamed log to logToDb

* minor refactor and added tab separation with timestamps

* Some changes. Thanks Bruception

* Created wrapper for logger

* Tiny refactor

* Some fixes

* Some fixes

* Update example env

* Remove general

* using default yellow, making colors bold

* removed square brackets

* removed square brackets

* using logger instead of console log

* updated timestamp format

* moved comment up

* Fixed typo

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-03-27 11:29:11 -04:00
..
anticheat added anticheat stub 2022-02-22 22:50:47 +01:00
api Add logging support from Winston with colored output (#2774) 2022-03-27 11:29:11 -04:00
constants Add Redis client and george task queue (#2765) bruception 2022-03-25 13:13:54 +01:00
credentials chores: fix typo and push backend/credentials directory (#2224) 2021-12-28 21:03:07 +01:00
dao Add logging support from Winston with colored output (#2774) 2022-03-27 11:29:11 -04:00
documentation Final touches/tuning for ApeKeys (#2663) 2022-03-09 19:40:35 +01:00
init Add logging support from Winston with colored output (#2774) 2022-03-27 11:29:11 -04:00
jobs Add logging support from Winston with colored output (#2774) 2022-03-27 11:29:11 -04:00
middlewares Add logging support from Winston with colored output (#2774) 2022-03-27 11:29:11 -04:00
tasks Optional redis (#2770) 2022-03-25 19:15:26 +01:00
types Add Redis client and george task queue (#2765) bruception 2022-03-25 13:13:54 +01:00
utils Add logging support from Winston with colored output (#2774) 2022-03-27 11:29:11 -04:00
.gitignore fixed ignore 2022-03-07 14:39:09 +01:00
app.ts Migrate middlewares to TypeScript (#2574) 2022-02-23 10:03:38 -05:00
example.env Add logging support from Winston with colored output (#2774) 2022-03-27 11:29:11 -04:00
package-lock.json Add logging support from Winston with colored output (#2774) 2022-03-27 11:29:11 -04:00
package.json Add logging support from Winston with colored output (#2774) 2022-03-27 11:29:11 -04:00
server.ts Add logging support from Winston with colored output (#2774) 2022-03-27 11:29:11 -04:00
tsconfig.json Add public api docs (#2656) by bruce 2022-03-09 13:02:37 +01:00
version.ts v1.14.1 (#2745) 2022-03-21 21:22:47 +01:00