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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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