Skip to main content

LogSnag API Wrapper

Project description

LogSnag

LogSnag

Get notifications and track your project events.

Discord Documentation

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


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.4.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

logsnag-0.1.4-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file logsnag-0.1.4.tar.gz.

File metadata

  • Download URL: logsnag-0.1.4.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

Hashes for logsnag-0.1.4.tar.gz
Algorithm Hash digest
SHA256 4df15546c9f6a1db8a9f2083d865d7e803c3580b982c04be0c48712e6ca61638
MD5 901b022543b6cf3517c47671a43eca0c
BLAKE2b-256 3652c6352a7002e4008b4839ecf96f8242da76dee7e97c080806a920dfd8435e

See more details on using hashes here.

File details

Details for the file logsnag-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: logsnag-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.9

File hashes

Hashes for logsnag-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 91fc2d303b318fe65b6efd3a59733231ff6a5c75bedf3f73bee6361027cd38b9
MD5 d4e62fdeef4f0679b9ee9155ba3bee66
BLAKE2b-256 c18e1b53dd8a27d12f824fd0201c0e0d1e226a5822cd5fb009e3d28e4b3d1eeb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page