This PR ensures that logs are human-readable with colors and formatted timestamps, while maintaining machine-readability and performance in production. By introducing pino-pretty (a module from the already in-use logger library) and using a conditional statement, we achieve this goal.
This PR ensures that logs are human-readable with colors and formatted timestamps, while maintaining machine-readability and performance in production. By introducing pino-pretty (a module from the already in-use logger library) and using a conditional statement, we achieve this goal.