monkeytype/backend/utils
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
..
auth.ts Migrate some utils to TS (#2625) 2022-03-04 16:25:24 +01:00
captcha.ts Migrate some utils to TS (#2625) 2022-03-04 16:25:24 +01:00
discord.ts Rename handlers to utils (#2620) 2022-03-03 16:31:57 -05:00
error.ts Enable strict null checks in backend (#2639) 2022-03-07 11:10:07 -05:00
logger.ts Add logging support from Winston with colored output (#2774) 2022-03-27 11:29:11 -04:00
misc.ts Optional redis (#2770) 2022-03-25 19:15:26 +01:00
monkey-response.ts Migrate some utils to TS (#2625) 2022-03-04 16:25:24 +01:00
pb.ts Enable strict null checks in backend (#2639) 2022-03-07 11:10:07 -05:00
prometheus.ts v1.14.1 (#2745) 2022-03-21 21:22:47 +01:00
validation.ts Enable strict null checks in backend (#2639) 2022-03-07 11:10:07 -05:00