Deno
import { LogSnag } from 'npm:logsnag';
import { LogSnag } from 'https://cdn.logsnag.com/deno/0.1.7/index.ts';
const logsnag = new LogSnag({
token: '7f568d735724351757637b1dbf108e5',
project: 'my-saas'
});
await logsnag.publish({
channel: "waitlist",
event: "User Joined",
description: "Email: [email protected]",
icon: "🎉",
tags: {
name: "john doe",
email: "[email protected]",
},
notify: true
})
await logsnag.insight({
title: "User Count",
value: "100",
icon: "👨"
})
Last modified 2mo ago