## Problem When `PayloadRequest` objects are logged using `console.log`, it creates unstructured, multiline entries in logging services like DataDog and Sentry. This circumvents the structured logging approach used throughout the rest of the codebase. ## Solution Replace `console.x` calls with the structured logging system when logging `payload.logger.x` objects. This ensures consistent log formatting and better integration with monitoring tools. ## Changes - Replaced instances of `console.log` with structured logging methods only in `@payloadcms/next` - Maintains logging consistency across the codebase - Improves log readability in DataDog, Sentry, and other monitoring services ## First <img width="914" alt="Screenshot 2024-11-06 at 09 53 44" src="https://github.com/user-attachments/assets/019b6f4b-40ed-4e54-a92a-8d1b50baa303"> ## Then <img width="933" alt="Screenshot 2024-11-06 at 00 50 29" src="https://github.com/user-attachments/assets/0a339db4-d706-4ff9-ba8c-80445bbef5d0">