Python

Installation

pip3 install logsnag

Usage

Import Library

from logsnag import LogSnag

Initialize Client

logsnag = LogSnag('7f568d735724351757637b1dbf108e5', "my-saas")

Publish Event

logsnag.publish(
channel="waitlist",
event="User Joined",
description="Email: [email protected]",
icon="🎉",
tags={
"email": "[email protected]",
"user-id": "uid-12"
},
notify=True
)
Copy link
Outline
Installation
Usage