Skip to main content

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.

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

Uploaded Source

File details

Details for the file slacklogging-0.0.3.tar.gz.

File metadata

  • Download URL: slacklogging-0.0.3.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for slacklogging-0.0.3.tar.gz
Algorithm Hash digest
SHA256 582095e9804b111f9bd4197dd193f0be0fb3a2c62690fe2354e79868421a5090
MD5 b4dac82894b80e9babc543354977d280
BLAKE2b-256 4765b789e044a7ee5ade288035813f2623eca6437c66c2dcd8e10000cf4a0c69

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 file

0.0.2

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page