LogSnag API Wrapper
Project description
Installation
pip3 install logsnag
Usage
Import Library
from logsnag import LogSnag
Initialize Client
logsnag = LogSnag(token='7f568d735724351757637b1dbf108e5', project="my-saas")
Publish Event
logsnag.publish(
channel="waitlist",
event="User Joined",
description="Email: john@doe.com",
icon="🎉",
tags={
"email": "john@doe.com",
"user-id": "uid-12"
},
notify=True
)
Publish Insight
logsnag.insight(
title='User Count',
value=100,
icon='👨',
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
logsnag-0.1.5.tar.gz
(4.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file logsnag-0.1.5.tar.gz.
File metadata
- Download URL: logsnag-0.1.5.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46d2f0ceeb06c4a398b7d312e7cdbc1e0ba07049f370efccfbe39facc3e182d1
|
|
| MD5 |
0b0c3d4d4109ed732259ffd55425affe
|
|
| BLAKE2b-256 |
719f65038a0fa39eb82e8ba86603e055d5247bd8f3ecc69882c44c7813e58b9e
|
File details
Details for the file logsnag-0.1.5-py3-none-any.whl.
File metadata
- Download URL: logsnag-0.1.5-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a565492125ef4425e77d31d1c6f73bb0178be8f6a7c02f5cfd9d436cf5d09fd
|
|
| MD5 |
8bc1d71524d3954e0efc24a62dce624b
|
|
| BLAKE2b-256 |
81c62e729537d7317331531d0d8d80b93283b9ed7dc073dae1283f0e1a1e5686
|