What is the professional standard for logging in production NestJS applications?
-
A
Use console.log throughout the codebase
-
B
Inject the built-in Logger or a structured logger like Winston with appropriate log levels
-
C
Disable all logging to improve performance
-
D
Log only in the main bootstrap file