Skip to content

API to enable log severity setting. #30

Merged
dirk-thomas merged 3 commits intoros2:masterfrom
sriramster:sriram_beta3
Jan 18, 2018
Merged

API to enable log severity setting. #30
dirk-thomas merged 3 commits intoros2:masterfrom
sriramster:sriram_beta3

Conversation

@sriramster
Copy link
Copy Markdown
Contributor

@sriramster sriramster commented Oct 20, 2017

ros2/rmw#124 url on rmw.

The patch enables setting log severity from userland applications. The parameter
passed is defined inside rmw/include/types.h

Signed-off-by: Sriram Raghunathan sriram.max@gmail.com

Connect to ros2/rmw#124

ros2/rmw#124 url on rmw.

The patch enables setting log severity from userland applications. The parameter
passed is defined inside rmw/include/types.h

Signed-off-by: Sriram Raghunathan <sriram.max@gmail.com>

RMW_INTERFACE_FN(rmw_set_log_severity,
rmw_ret_t, RMW_RET_ERROR,
1, ARG_TYPES(const rmw_log_severity_t *))
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since rmw_log_severity_t is a primitive type this doesn't need to be passed as const *. A plain rmw_log_severity_t is sufficient.

@dirk-thomas dirk-thomas added in progress Actively being worked on (Kanban column) requires-changes labels Oct 20, 2017
addressing comments

Signed-off-by: Sriram Raghunathan <sriram.max@gmail.com>
@sriramster
Copy link
Copy Markdown
Contributor Author

@dirk-thomas fixed the comment.

@dirk-thomas dirk-thomas added in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) requires-changes labels Oct 20, 2017
Copy link
Copy Markdown
Member

@dirk-thomas dirk-thomas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The patch looks good. Merging needs to wait until the rmw interface specifies the new function and the rmw implementations implement it.

@sriramster
Copy link
Copy Markdown
Contributor Author

@dirk-thomas Thanks.

@dirk-thomas dirk-thomas added in progress Actively being worked on (Kanban column) and removed in review Waiting for review (Kanban column) labels Oct 30, 2017
@dirk-thomas dirk-thomas merged commit 8fa3cfe into ros2:master Jan 18, 2018
@dirk-thomas dirk-thomas removed the in progress Actively being worked on (Kanban column) label Jan 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants