Core: Monolog logging engine. (#1009)

Created on 28 Nov 2019  ·  3Comments  ·  Source: php-telegram-bot/core

❓ Support Question

<--
❗ NEVER put your Telegram API key or any other private details here. (like passwords, user IDs, etc.)
Substitute them like or etc.
-->

Required Information


| ? | !
| --- | ---
| Operating system | Name and version
| PHP Telegram Bot version | x.y.z
| PHP version | x.y.z
| MySQL version | x.y.z / none
| Update Method | Webhook / getUpdates
| Self-signed certificate | yes / no
| RAW update (if available) | {...}

Summary


❗️ Monolog has been removed as built-in logging engine. (#1009)

So what we have to use now for logging?

question

All 3 comments

The link you sent just uses the Monolog library, but it was deleted in the latest version of php-telegram-bot.
Do I understand correctly that now I have to manually connect Monolog through the composer to use it?

Yes, it's done this way so that people can use any PSR-3 logger and not just Monolog.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mohsenshahab picture mohsenshahab  ·  4Comments

NabiKAZ picture NabiKAZ  ·  4Comments

smaznet picture smaznet  ·  4Comments

NabiKAZ picture NabiKAZ  ·  3Comments

sineverba picture sineverba  ·  3Comments