ruvents/yii1-telegram-log

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Yii 1 telegram log target, send logs to the telegram chats or channels

Installs: 24

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 4

Forks: 0

Open Issues: 0

Type:yii1-extension

v0.0.1 2017-05-04 13:36 UTC

This package is auto-updated.

Last update: 2021-10-12 00:17:49 UTC


README

Добавить в конфиг в секцию log

[
    'class' => 'кумутеы\log\TelegramTarget',
    'levels' => 'info, error, warning',
    'token' => 'API_TOKEN',
    'chat' => 'CHART_ID',
]