Problem Description
Currently, when logging multi-line messages, the secondary and subsequent lines are not aligned with the log level prefix, which affects readability.
Current behavior:
Info This is the first line
This is the second line
This is the third line
Error Another error message
Expected behavior:
Info This is the first line
This is the second line
This is the third line
Error Another error message
Use Case Examples
// Current output:
logger.info(`User profile updated:
- Name: John Doe
- Email: john@example.com
- Phone: +1234567890`);
// Outputs:
// Info User profile updated:
// - Name: John Doe
// - Email: john@example.com
// - Phone: +1234567890
// Desired output:
// Info User profile updated:
// - Name: John Doe
// - Email: john@example.com
// - Phone: +1234567890