Function rclcpp::get_log_directory

Function Documentation

std::filesystem::path rclcpp::get_log_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.