Function rclcpp::get_logging_directory

Function Documentation

rcpputils::fs::path rclcpp::get_logging_directory()

Get the current logging directory.

For more details of how the logging directory is determined, see rcl_logging_get_logging_directory().

Throws:

rclcpp::exceptions::RCLError – if an unexpected error occurs.

Returns:

the logging directory being used.