rosros 0.2.5
Simple unified interface to ROS1 / ROS2 Python API
Loading...
Searching...
No Matches
rosros.ros2.ROSLogHandler Class Reference

Logging handler that forwards logging messages to ROS2 logger. More...

Inheritance diagram for rosros.ros2.ROSLogHandler:
Inheritance graph

Public Member Functions

 __init__ (self, node)
 
 emit (self, record)
 Adds message to ROS2 logger.
 

Protected Attributes

 _logger
 

Detailed Description

Logging handler that forwards logging messages to ROS2 logger.

Definition at line 118 of file ros2.py.

Constructor & Destructor Documentation

◆ __init__()

rosros.ros2.ROSLogHandler.__init__ (   self,
  node 
)

Definition at line 121 of file ros2.py.

Member Function Documentation

◆ emit()

rosros.ros2.ROSLogHandler.emit (   self,
  record 
)

Adds message to ROS2 logger.

Definition at line 126 of file ros2.py.

Member Data Documentation

◆ _logger

rosros.ros2.ROSLogHandler._logger
protected

Definition at line 123 of file ros2.py.


The documentation for this class was generated from the following file: