Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable setting log levels in DDS implementation (#124)
* Add rmw_log_level_t enum to enable setting log levels for the lowlevel DDS api's * This patch enables support for three basic log levels * There needs an API inside the DDS specific rmw implementation i.e rmw_fastrtps/rmw_opensplice etc to convert the enum to DDS specific variable Signed-off-by: Sriram Raghunathan <sriram.max@gmail.com> * Update changes based on github discussion based on #124 (comment) Using rcutils based log level, mapping them onto rmw specific ones. Signed-off-by: Sriram Raghunathan <sriram.max@gmail.com> * Minor changes to existing code. Fix comment consistency and spacing consistency. Signed-off-by: Sriram Raghunathan <sriram.max@gmail.com> * Change variable name for consistency Signed-off-by: Sriram Raghunathan <rsriram7@visteon.com> * Add, rmw_log_set_severity API to rmw.h. This follows the set of patches across ros2 sources for setting log levels inside DDS implementation Signed-off-by: Sriram Raghunathan <sriram.max@gmail.com> * Remove pointer to variable severity, from the github discussions it was'nt needed Signed-off-by: Sriram Raghunathan <sriram.max@gmail.com> * Fix enum declaration errors Signed-off-by: Sriram Raghunathan <sriram.max@gmail.com> * Fix code styling issues
- Loading branch information