-
Notifications
You must be signed in to change notification settings - Fork 42
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
Add documentation of log levels #93
Conversation
Signed-off-by: Tully Foote <[email protected]>
rcl_interfaces/msg/Log.msg
Outdated
## https://docs.python.org/3/library/logging.html#logging-levels | ||
## And are implemented in rcutils as well | ||
## https://github.com/ros2/rcutils/blob/35f29850064e0c33a4063cbc947ebbfeada11dba/include/rcutils/logging.h#L164-L172 | ||
## This leaves space for other logging levels to be inserted in the middle in the future. |
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.
Not only in the future but custom user defined levels.
@tfoote friendly ping. |
Signed-off-by: Tully Foote <[email protected]>
## This leaves space for other standard logging levels to be inserted in the middle in the future, | ||
## as well as custom user defined levels. | ||
## Since there are several other logging enumeration standard for different implementations, | ||
## other logging implementations may need to provide level mappings to match their internal implementations. |
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.
Out of curiosity: why two #
? Are these comments still being extracted properly and used in the generated code without any leading #
?
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.
I was just copying the existing style.
Please double check the docblocks in the generated code. That was also part of the review if I recall correctly. |
This is a follow up to the Aggregate Foxy Message API Review
Specifically: https://github.com/ros2/common_interfaces/pull/86/files#r393330197