Hello guys,I am in the process of getting familiar with winstonjs in order to be capable of providing a proper logging solution for my apps.I added winston and started to write some logs. I am using a custom format for the log message which include the log level. My issue is that the log level is being logged kinda cryptical:2018-08-13T13:09:10.174Z [31merror[39m: test_logging.js, onRequest(): Error: test errorI am not able to figure out why this is the case. Here is my example project: https://ift.tt/2MDRZxN assumed it was due to my custom format function or my custom levels but the issue persists after removing them.Thanks for your help
Submitted August 13, 2018 at 02:13PM by roconf
No comments:
Post a Comment