All Projects → sergeymakinen → Yii2 Slack Log

sergeymakinen / Yii2 Slack Log

Licence: mit
Pretty Slack log target for Yii 2

Projects that are alternatives of or similar to Yii2 Slack Log

Yii2 Telegram Log
Telegram log target for Yii 2
Stars: ✭ 24 (+0%)
Mutual labels:  yii2, yii2-extension, notifications, logging, log, logging-library, notification
Yii2 Psr Log Target
Yii 2.0 log target that is able to write messages to PSR-3 compatible logger
Stars: ✭ 58 (+141.67%)
Mutual labels:  yii2, yii2-extension, logging, log
Daiquiri
Python library to easily setup basic logging functionality
Stars: ✭ 308 (+1183.33%)
Mutual labels:  logging, log, logging-library
Quicklogger
Library for logging on files, console, memory, email, rest, eventlog, syslog, slack, telegram, redis, logstash, elasticsearch, influxdb, graylog, Sentry, Twilio, ide debug messages and throw events for Delphi/Firemonkey/freepascal/.NET (Windows/Linux/OSX/IOS/Android).
Stars: ✭ 137 (+470.83%)
Mutual labels:  slack, logging, log
Cocoadebug
iOS Debugging Tool 🚀
Stars: ✭ 3,769 (+15604.17%)
Mutual labels:  logging, log, logging-library
React Log
React for the Console
Stars: ✭ 553 (+2204.17%)
Mutual labels:  logging, log
Nlog
NLog - Advanced and Structured Logging for Various .NET Platforms
Stars: ✭ 5,296 (+21966.67%)
Mutual labels:  logging, logging-library
Laravel Failed Job Monitor
Get notified when a queued job fails
Stars: ✭ 582 (+2325%)
Mutual labels:  slack, notifications
Diun
Receive notifications when an image is updated on a Docker registry
Stars: ✭ 704 (+2833.33%)
Mutual labels:  slack, notifications
Logstash Logger
Ruby logger that writes logstash events
Stars: ✭ 442 (+1741.67%)
Mutual labels:  logging, logging-library
Screenlog.js
Bring console.log on the screen
Stars: ✭ 591 (+2362.5%)
Mutual labels:  logging, logging-library
Mex Vocabulary
MEX Vocabulary: a lightweight machine learning interchange format
Stars: ✭ 19 (-20.83%)
Mutual labels:  logging, logging-library
Fern
Simple, efficient logging for Rust
Stars: ✭ 524 (+2083.33%)
Mutual labels:  logging, logging-library
Log4rs
A highly configurable logging framework for Rust
Stars: ✭ 483 (+1912.5%)
Mutual labels:  logging, log
Yii2 Selectize
selectize.js wrapper for yii2.
Stars: ✭ 18 (-25%)
Mutual labels:  yii2, yii2-extension
Monitor Table Change With Sqltabledependency
Get SQL Server notification on record table change
Stars: ✭ 459 (+1812.5%)
Mutual labels:  notifications, notification
Dozzle
Realtime log viewer for docker containers.
Stars: ✭ 684 (+2750%)
Mutual labels:  logging, log
Electron Log
Just a simple logging module for your Electron application
Stars: ✭ 765 (+3087.5%)
Mutual labels:  logging, log
Notie
🔔 a clean and simple notification, input, and selection suite for javascript, with no dependencies
Stars: ✭ 6,170 (+25608.33%)
Mutual labels:  notifications, notification
Logging Helpers
Basic template helpers for printing messages out to the console. Useful for debugging context in templates. Should work with any template engine.
Stars: ✭ 5 (-79.17%)
Mutual labels:  logging, log

Slack log target for Yii 2

Pretty Slack log target for Yii 2.

Screenshot

Code Quality Build Status Code Coverage SensioLabsInsight

Packagist Version Total Downloads Software License

Installation

The preferred way to install this extension is through composer.

Either run

composer require "sergeymakinen/yii2-slack-log:^2.0"

or add

"sergeymakinen/yii2-slack-log": "^2.0"

to the require section of your composer.json file.

Usage

First set up an incoming webhook integration in your Slack team and obtain a token. It should look like https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX.

Then set the following Yii 2 configuration parameters:

'components' => [
    'log' => [
        'targets' => [
            [
                'class' => 'sergeymakinen\yii\slacklog\Target',
                'webhookUrl' => 'https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX',
            ],
        ],
    ],
],

Sample config:

'components' => [
    'log' => [
        'targets' => [
            [
                'class' => 'sergeymakinen\yii\slacklog\Target',
                'levels' => ['error'],
                'except' => [
                    'yii\web\HttpException:*',
                ],
                'enabled' => YII_ENV_PROD,
                'webhookUrl' => 'https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX',
                'username' => 'Fire Alarm Bot',
                'iconEmoji' => '💩',
            ],
        ],
    ],
],
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].