15 #ifndef CONCEALER__AUTOWARE_STREAM_HPP_
16 #define CONCEALER__AUTOWARE_STREAM_HPP_
18 #define AUTOWARE_INFO_STREAM(...) \
19 RCLCPP_INFO_STREAM(get_logger(), "\x1b[32m" << __VA_ARGS__ << "\x1b[0m")
21 #define AUTOWARE_WARN_STREAM(...) \
22 RCLCPP_WARN_STREAM(get_logger(), "\x1b[33m" << __VA_ARGS__ << "\x1b[0m")
24 #define AUTOWARE_ERROR_STREAM(...) \
25 RCLCPP_ERROR_STREAM(get_logger(), "\x1b[1;31m" << __VA_ARGS__ << "\x1b[0m")
27 #define AUTOWARE_SYSTEM_ERROR(FROM) \
28 AUTOWARE_ERROR_STREAM( \
29 "Error on calling " FROM ": " << std::system_error(errno, std::system_category()).what())