-
Notifications
You must be signed in to change notification settings - Fork 436
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
Fixing the unit test for the logging interface change in rcl. #582
Conversation
@nburek fyi if you put an entry like: |
@tfoote Cool, thanks for adding that to this set of reviews. I'll make sure to mark them with |
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.
This looks fine pending approval of the connected change.
ee354e0
to
14efb7b
Compare
Rebased on master. |
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.
0e619a8 looks ok to me, though if we go through with reverting the signature change for the output handler as I suggested in the rcutils pr, then this pr also will go away.
I don't understand why the style changes are required. Maybe this just needs to be rebased?
@@ -89,27 +89,27 @@ TEST_F(TestLoggingMacros, test_logging_named) { | |||
} | |||
EXPECT_EQ(RCUTILS_LOG_SEVERITY_DEBUG, g_last_log_event.level); | |||
EXPECT_EQ("name", g_last_log_event.name); | |||
EXPECT_EQ("message 3", g_last_log_event.message); | |||
EXPECT_EQ("[DEBUG] [name]: message 3", g_last_log_event.message); |
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.
Changes like this will probably go away after changes I suggested in rcutils
.
This entire PR will probably be discarded after the change. I'll run tests to verify though and then close it out if it's no longer needed. |
That's ok, I just wanted to make sure it was ready if needed. |
Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
Connects to ros2/rcl#327
Summary
This change is part of a set of changes for new logging features. These changes include the following features:
rcutils
rcl
rclcpp
rc_logging_log4cxx
Remaining Feature Work
Links
https://discourse.ros.org/t/ros2-logging/6469
https://github.com/nburek/rc_logging_log4cxx
Pull requests for change
rclcpp: #582
rcl: ros2/rcl#327
rcutils: ros2/rcutils#127