Skip to main content

Provides an interface for using a discord webhook as a logger.

Project description

DiscordWebhookLogger

Provides an interface for using a discord webhook as a logger.

Example

import dislog
import logging

logging.basicConfig(level=logging.ERROR, handlers=[dislog.DiscordWebhookHandler("url")])

logging.error("hi")

img.png

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

discord-webhook-logger-1.0.0.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

discord_webhook_logger-1.0.0-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file discord-webhook-logger-1.0.0.tar.gz.

File metadata

  • Download URL: discord-webhook-logger-1.0.0.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for discord-webhook-logger-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b638a06fd7341d38170010c6a488cd5e4edb6b283bf8dbb46c05f2deac707b92
MD5 04738f23ce16a5a1d8a00f1fc4c6b6a5
BLAKE2b-256 f8588a5ef9b28679d362d32defa99240bd4aef981838f9d35bad5b80e84e281f

See more details on using hashes here.

Provenance

File details

Details for the file discord_webhook_logger-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: discord_webhook_logger-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for discord_webhook_logger-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8261ac8412a9c5fb40090f5a20d38b975d68b2fa702a200a138f7bcdd0d9e8e7
MD5 5ad0bba3dea018a77300c46b71195126
BLAKE2b-256 3acf8cfb9632df8cedb3e56018cc900c85a3e2ca0700d3d67e72d1348063d16a

See more details on using hashes here.

Provenance

Supported by

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