Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HttpClient 中关于 Monolog\Logger 的使用 #9

Open
SilentStardust opened this issue Sep 8, 2023 · 2 comments
Open

HttpClient 中关于 Monolog\Logger 的使用 #9

SilentStardust opened this issue Sep 8, 2023 · 2 comments

Comments

@SilentStardust
Copy link

你们的sdk对 Monolog\Logger 要求是 >=1.23.0 。
Monolog\Logger 已经在过去的版本中去除了 “1.23.0版本中存在的 addInfo 和 addError” 等方法

所以目前会出现 Call to undefined method 的报错。

建议升级依赖并修正调用。
或指定旧版本范围以维持对addInfo等方法的支持。

详见
https://github.com/Seldaek/monolog/blob/3.4.0/src/Monolog/Logger.php
https://github.com/Seldaek/monolog/blob/1.23.0/src/Monolog/Logger.php

@ChenwxJay
Copy link

感谢您的建议,我们已经对Monolog\Logger 依赖进行了升级,代码调用也修正了,本周会上线sdk新版本
Monolog\Logger 依赖改为 >= 2.4.0

@ChenwxJay
Copy link

问题已修复,请确认

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants