Skip to content

to create a sublogger while getting child of Logger - #1717

Merged
clalancette merged 5 commits into
ros2:rollingfrom
iuhilnehc-ynos:topic-get-child-to-create-sublogger
Feb 24, 2023
Merged

clalancette merged 5 commits into
ros2:rollingfrom
iuhilnehc-ynos:topic-get-child-to-create-sublogger

Conversation

@iuhilnehc-ynos

@iuhilnehc-ynos iuhilnehc-ynos commented Jul 16, 2021 •

Copy link
Copy Markdown
Collaborator

use new APIs based on ros2/rcl#921

Signed-off-by: Chen Lihui [email protected]

@fujitatomoya
fujitatomoya self-requested a review July 17, 2021 01:32

@fujitatomoya fujitatomoya left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

a minor comment, but LGTM.

Comment thread rclcpp/include/rclcpp/logger.hpp Resolved
@clalancette clalancette self-assigned this Aug 12, 2021
@audrow
audrow changed the base branch from master to rolling June 28, 2022 14:21
@fujitatomoya

Copy link
Copy Markdown
Collaborator

@iuhilnehc-ynos can you start CI with ros2/rcl#921?

@iuhilnehc-ynos

Copy link
Copy Markdown
Collaborator Author

@fujitatomoya

I need to re-check if the implementations are good or not, after that, I'll trigger the CI.

Chen Lihui added 3 commits December 8, 2022 11:53
@iuhilnehc-ynos
iuhilnehc-ynos force-pushed the topic-get-child-to-create-sublogger branch from bd4f5a3 to 67394c3 Compare December 8, 2022 03:54
@iuhilnehc-ynos

iuhilnehc-ynos commented Dec 8, 2022 •

Copy link
Copy Markdown
Collaborator Author

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@fujitatomoya

Copy link
Copy Markdown
Collaborator

@clalancette @wjwwood i am good to go with this change, could you do another review?

this needs to be aligned with ros2/rcl#921

@iuhilnehc-ynos

iuhilnehc-ynos commented Dec 9, 2022 •

Copy link
Copy Markdown
Collaborator Author

@fujitatomoya

Copy link
Copy Markdown
Collaborator

@clalancette could you also review this? this depends on ros2/rcl#921, they must be merged together.

@clalancette clalancette left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I've got one thing that I think can be simplified; otherwise, this looks pretty good to me.

Comment thread rclcpp/include/rclcpp/logger.hpp Resolved

@clalancette clalancette left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Two small fixes here, then I think this will be good.

Comment thread rclcpp/src/rclcpp/logger.cpp Resolved
Comment thread rclcpp/test/rclcpp/CMakeLists.txt Resolved
Signed-off-by: Chen Lihui <[email protected]>
@iuhilnehc-ynos

Copy link
Copy Markdown
Collaborator Author

@ros-pull-request-builder retest this please

1 similar comment
@iuhilnehc-ynos

Copy link
Copy Markdown
Collaborator Author

@ros-pull-request-builder retest this please

@iuhilnehc-ynos

Copy link
Copy Markdown
Collaborator Author

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@clalancette

Copy link
Copy Markdown
Contributor

The single failed test on Windows is a known flake, so going ahead and merging this.

@clalancette
clalancette merged commit b1e834a into ros2:rolling Feb 24, 2023
bartalor pushed a commit to bartalor/rclcpp that referenced this pull request Jul 15, 2026
* to create a sublogger while getting child of Logger

Signed-off-by: Chen Lihui <[email protected]>
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.

3 participants