Sentry.logger.warn('Rate limit approaching', { endpoint: '/api/users', currentRate: '95/100', resetTime: '2024-03-20T10:00:00Z'}); Copy
Sentry.logger.warn('Rate limit approaching', { endpoint: '/api/users', currentRate: '95/100', resetTime: '2024-03-20T10:00:00Z'});
Sentry.logger.warn('Rate limit %s for %s: %s', ['approaching', '/api/users', '95/100 requests'], { resetTime: '2024-03-20T10:00:00Z' }); Copy
Sentry.logger.warn('Rate limit %s for %s: %s', ['approaching', '/api/users', '95/100 requests'], { resetTime: '2024-03-20T10:00:00Z' });
Example
Example: With template strings