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.5.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.5-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

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

Hashes for logsnag-0.1.5.tar.gz
Algorithm Hash digest
SHA256 46d2f0ceeb06c4a398b7d312e7cdbc1e0ba07049f370efccfbe39facc3e182d1
MD5 0b0c3d4d4109ed732259ffd55425affe
BLAKE2b-256 719f65038a0fa39eb82e8ba86603e055d5247bd8f3ecc69882c44c7813e58b9e

See more details on using hashes here.

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

Hashes for logsnag-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 9a565492125ef4425e77d31d1c6f73bb0178be8f6a7c02f5cfd9d436cf5d09fd
MD5 8bc1d71524d3954e0efc24a62dce624b
BLAKE2b-256 81c62e729537d7317331531d0d8d80b93283b9ed7dc073dae1283f0e1a1e5686

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