-
Notifications
You must be signed in to change notification settings - Fork 191
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
[Plugins] The behavior of python and cpp plugins output is not identical #178
Comments
Thanks for the tip, we'll fix it as soon as possible |
Thanks! In our roadmap,the log system will be rewritten and competed in 2023.7. |
Hi, the log system has been rewritten. Now there is no
This applies to the log prints code both in cpp plugin and the python plugin. The only difference here is that the |
The issue is closed due to inactivity. Please feel free to create a new one if you have more questions. And please star this repo if you find it useful! Thanks! |
Is your feature request related to a problem? Please describe.
Right now, for python plugins and cpp plugins, the output behaviors are not identical.
For Python plugins:
print
function will output the content into.err
file rather than.log
file.print
function will not take effect and print message into the console.For cpp plugins:
std::cout
will not take effect, no message will be found in.err
file nor.log
file.std::cout
will print the message into the console.The behavior is quite confusing and not very friendly for users to debug their own plugins.
Describe the solution you'd like
print
should write the log into.log
file rather than.err
file. Andstd::cout
should write the log into.log
file too and maybestd::err
should write the log into.err
file.The text was updated successfully, but these errors were encountered: