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.3.tar.gz (4.0 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.3-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: logsnag-0.1.3.tar.gz
  • Upload date:
  • Size: 4.0 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.3.tar.gz
Algorithm Hash digest
SHA256 4e9e33743582dc02bdf648a3093515e9faf2ed5d12217d120678bdb4fb12c388
MD5 577caaabb540273109c4cd01a6eeeaca
BLAKE2b-256 d521ebfafa7d1f231fa3dd818db512d9786d2cc5b4b9f7d09ccf3ec8fd18c672

See more details on using hashes here.

File details

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

File metadata

  • Download URL: logsnag-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 4.9 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cb0cac78f5b6fac5ff7a1fc8157abee21200124a23bf516166fce5ad1fc826d1
MD5 5185c580999bcfeadddd0ffe2d48a587
BLAKE2b-256 97e2f105218ee702362eaa72774031a00a0d10b3c5039f800742fdfa981f24f6

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