-
Notifications
You must be signed in to change notification settings - Fork 914
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
Simplified internal loggers #1290
Simplified internal loggers #1290
Conversation
clients/rospy/src/rospy/core.py
Outdated
@@ -131,18 +131,10 @@ def parse_rosrpc_uri(uri): | |||
# other sorts of information that scare users but are essential for | |||
# debugging | |||
|
|||
def rospydebug(msg, *args): | |||
"""Internal rospy client library debug logging""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The information that these functions are "internal" is being lost in the patch. Based on the fact that the functions are intended to be internal I am wondering why you want to allow kwargs
here? Anyway if it makes still sense to allow them here please update the patch to add them to the existing function definitions and pass them along.
My intention here was to remove code that basically does nothing and at the same time prevents to pass additional keyword arguments. I stumbled upon it when implementing #1289 |
907206f
to
7f35969
Compare
The information about the "internal" nature of the API is still lost from the documentation. Before this note appeared in the docblock of the function. To enable
|
7f35969
to
5910331
Compare
changed as suggested. I also fixed the wrong docstring |
Please rebase the patch to resolve the conflicts. |
5910331
to
540e787
Compare
done |
@ros-pull-request-builder retest this please |
Thanks for the patch. |
This allows using args and kwargs as in the python logging module