Application logs

Use logs to write structured application messages at the info, warn, error, or debug level. Add non-sensitive metadata that helps you investigate an issue. Never write secret values or personal data that is not needed for troubleshooting.

import { logs } from "@backifydev/sdk";

await logs.info("Invoice processed", { invoiceId: "inv_123" });

Application logs are available alongside your application's runtime and deployment information in Backify.