Rocky_Mountain_Vending/.pnpm-store/v10/files/9c/ea9ab0bc4e7f8adf582020886c87470fd4dab7c9330ff8f41a3333c0203c8865a237a77f5095b75e2f1815c98b27a46782d51cd4aaa95891c85d195684582f
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

29 lines
1.1 KiB
Text

Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const util = require('node:util');
const core = require('@sentry/core');
/**
* Capture a log with the given level.
*
* @param level - The level of the log.
* @param message - The message to log.
* @param attributes - Arbitrary structured data that stores information about the log - e.g., userId: 100.
*/
function captureLog(level, ...args) {
const [messageOrMessageTemplate, paramsOrAttributes, maybeAttributes] = args;
if (Array.isArray(paramsOrAttributes)) {
const attributes = { ...maybeAttributes };
attributes['sentry.message.template'] = messageOrMessageTemplate;
paramsOrAttributes.forEach((param, index) => {
attributes[`sentry.message.parameter.${index}`] = param;
});
const message = util.format(messageOrMessageTemplate, ...paramsOrAttributes);
core._INTERNAL_captureLog({ level, message, attributes });
} else {
core._INTERNAL_captureLog({ level, message: messageOrMessageTemplate, attributes: paramsOrAttributes });
}
}
exports.captureLog = captureLog;
//# sourceMappingURL=capture.js.map