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

Uploaded Source

Built Distribution

discord_webhook_logger-1.2.0-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: discord-webhook-logger-1.2.0.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for discord-webhook-logger-1.2.0.tar.gz
Algorithm Hash digest
SHA256 953a8e0bcddad54c9134e2d363125694aa4149ec7e269506b1aa2200df9a5b66
MD5 27c297191ddaca34df600498b24e44fd
BLAKE2b-256 f8069cf88485c6d72947a7cc6372d7dfc88e9a7a27efd8293e3fd71cae19f3b7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: discord_webhook_logger-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for discord_webhook_logger-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 741e711d42b86514eec4a6a12ae4b20802a6094ac01de4c8fa6b8b1be02c5b72
MD5 cc10948d63b1526034f2cf2a037db992
BLAKE2b-256 e2beea9ff26efd3415ee25d04001314bebc99412ccf3f3d7a954a290ad693a1b

See more details on using hashes here.

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