...The app has a utility ApiError class to which you can attach a response code and a message, and then throw it from anywhere (catchAsync will catch it). Request data is validated using Joi. Check the documentation for more details on how to write Joi validation schemas. In production mode, only info, warn, and error logs will be printed to the console. It is up to the server (or process manager) to actually read them from the console and store them in log files.