Logging

rclpy.logging.clear_config()

Clear the configuration of the logging system, e.g. logger levels.

rclpy.logging.get_logger(name)
rclpy.logging.get_logger_effective_level(name)
rclpy.logging.get_logger_level(name)
rclpy.logging.get_logging_directory() Path

Return the current logging directory being used.

For more details, rcl_logging_get_logging_directory()

rclpy.logging.get_logging_severity_from_string(log_severity)
rclpy.logging.initialize()
rclpy.logging.set_logger_level(name, level, detailed_error=False)
rclpy.logging.shutdown()