Skip to main content

Slack logging integration.

Project description

You can log on Slack with this handler.

import logging

import slacklogging


slack_logger = logging.getLogger('slack')
slack_logger.addHandler(slacklogging.Handler(token, channel, username))

You have to make a bot user for this logger, and need to invite the bot user to the channel.

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

slacklogging-0.0.3.tar.gz (2.6 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page