arillo/logslackwriter

Publish SilverStripe errors and warnings into a Slack channel via webhook.

Installs: 40

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 4

Forks: 0

Open Issues: 1

Type:silverstripe-module

1.0.1 2017-12-18 14:34 UTC

This package is auto-updated.

Last update: 2024-06-09 02:05:27 UTC


README

Publish SilverStripe errors and warnings into a Slack channel via an incoming webhook.

Usage

Use Slack's 'Incoming WebHooks' app to add a webhook to post into the channel of your choice. Copy the URL that Slack generates and add it to your env variables:

define('SS_SLACK_LOG_WEBHOOK', '{your-webhook-url}');
define('SS_SLACK_LOG_CHANNEL', '{your-webhook-channel}');