Relative Content

Tag Archive for typescripterror-handlingconstructornestjs

NestJS provider constructor error custom Logger

I am using NestJS version 10. I have implemented a custom JSON logger for my application so that all my errors are displayed in JSON format. My main.ts defines the ussage of the logger like this: