Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 541 Bytes

File metadata and controls

28 lines (21 loc) · 541 Bytes

Logs

To verify that Sentry catches your logs, add some log statements to your application:
Sentry.logger.info("User example action completed");

Sentry.logger.warn("Slow operation detected", {
  operation: "data_fetch",
  duration: 3500,
});

Sentry.logger.error("Validation failed", {
  field: "email",
  reason: "Invalid email",
});