Skip to content

glog_component#

This package provides the glog (google logging library) feature as a ros2 component library. This is used to dynamically load the glog feature with container.

See the glog github for the details of its features.

Example#

When you load the glog_component in container, the launch file can be like below:

glog_component = ComposableNode(
    package="glog_component",
    plugin="GlogComponent",
    name="glog_component",
)

container = ComposableNodeContainer(
    name="my_container",
    namespace="",
    package="rclcpp_components",
    executable=LaunchConfiguration("container_executable"),
    composable_node_descriptions=[
        component1,
        component2,
        glog_component,
    ],
)