Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable logging level manipulation from rmw_fastrtps (#156)
* Fastrtps supports rich logging facilities, which could be used on any ros2 development. * To enable the same, enable setting log levels from rmw_fastrtps layers, * Add generic logging level parameters to 'rmw.h' which would be used by other layers above like rcl/rclcpp. * Hide DDS specific implementation inside rmw_fastrtps. Signed-off-by: Sriram Raghunathan <sriram.max@gmail.com> * The changes follow the discussions ros2/rmw#124 * The API defined is used to set the logging level particular to the DDS implementation. * This change is specific to DDS type Fast-RTPS. * The file is named as rmw_configure since we could write API's of type 'system level config setting' types here. Signed-off-by: Sriram Raghunathan <rsriram7@visteon.com> * Rename file from rmw_fastrtps_configure to rmw_logging, which follows the patterns being used already. like rmw_node, rmw_publisher.. Signed-off-by: Sriram Raghunathan <sriram.max@gmail.com> * - Fix, coding errors. - Renmae API to suite ros styles Signed-off-by: Sriram Raghunathan <sriram.max@gmail.com> * Fix ament_cpplint warnings Signed-off-by: Sriram Raghunathan <sriram.max@gmail.com> * Remove utility function to create a 'error' returnable API for setting logging Signed-off-by: Sriram Raghunathan <rsriram7@visteon.com> * Fix, logging msg bug. * Modify logging mapping for type 'debug' from warning to info. Signed-off-by: Sriram Raghunathan <rsriram7@visteon.com> * order log levels, use different local variable name, include unknown severity in error message * Fix error due to parameterized logging * Fix code style issues from uncrustify
- Loading branch information