rclcpp logging still uses fprintf all over the place. (#439)
* rclcpp logging still uses fprintf all over the place. Remove all printf log lines and replace with RCLUTILS_LOG_XXX macros. Issue: #438 * fixup include order
This commit is contained in:
parent
f88ade7a2a
commit
0e79842b6b
9 changed files with 88 additions and 44 deletions
|
@ -68,7 +68,9 @@ public:
|
|||
auto ret = rcl_lifecycle_state_machine_fini(
|
||||
&state_machine_, node_handle, &node_options->allocator);
|
||||
if (ret != RCL_RET_OK) {
|
||||
fprintf(stderr, "FATAL: failed to destroy rcl_state_machine\n");
|
||||
RCUTILS_LOG_FATAL_NAMED(
|
||||
"rclcpp_lifecycle",
|
||||
"failed to destroy rcl_state_machine");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue