Sentry.logger.info('User profile updated', { userId: 'user_123', updatedFields: ['email', 'preferences']}); Copy
Sentry.logger.info('User profile updated', { userId: 'user_123', updatedFields: ['email', 'preferences']});
Sentry.logger.info('User %s updated their %s', ['John Doe', 'profile settings'], { userId: 'user_123' }); Copy
Sentry.logger.info('User %s updated their %s', ['John Doe', 'profile settings'], { userId: 'user_123' });
Example
Example: With template strings