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

Uploaded Python 3

File details

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

File metadata

  • Download URL: logsnag-0.1.2.tar.gz
  • Upload date:
  • Size: 3.9 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.2.tar.gz
Algorithm Hash digest
SHA256 b009a97ca0182c47dc898a060476d5f98a20c836ff9dbe83d5b90c26ec10e479
MD5 995addb6a42f2dbafa829e0a2757c49d
BLAKE2b-256 61493e535c4d389db20b0d3b39fe18a6603ca1bb735309c3ba117efbb70db641

See more details on using hashes here.

File details

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

File metadata

  • Download URL: logsnag-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9105699e0caf69ad2e043ddd0da9c466844db76d0a6bfba5c22463b3d8c192ee
MD5 47921ba28c2868c1522c4cf1a351021c
BLAKE2b-256 2887734aa7c8f44a0931bb91d1bd9db5e4c0e1b90865771d44444ed358b1bfae

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