-
-
Notifications
You must be signed in to change notification settings - Fork 949
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Log request data sended to Telegram API #1088
Comments
Do you mean to output the |
Yes |
I like this idea, thanks for bringing it up. I'll prepare a PR for you to check out 馃憣 |
@asafov What do you think, regarding the PR? |
Looks great. Fully as i wanted. Maybe add setter and getter? What do you think? |
Since it's a static class it doesn't make sense, you can simply: TelegramLog::$log_request_data = true; and change this at any time on run-time. |
OK. Merge. |
I create PR for log response data too. |
馃帀 Feature Request
Summary
I think it will be good idea to log request data sended to telegram server in debug log.
Maybe at dedicated "Verbose" log.
The text was updated successfully, but these errors were encountered: