17 #ifndef RCL__LOGGING_H_
18 #define RCL__LOGGING_H_
22 #include "rcl/macros.h"
24 #include "rcl/visibility_control.h"
26 #include "rcutils/logging.h"
154 const rcutils_log_location_t * location,
155 int severity,
const char * name, rcutils_time_point_value_t timestamp,
156 const char * format, va_list * args);
rcutils_allocator_t rcl_allocator_t
Encapsulation of an allocator.
RCL_PUBLIC RCL_WARN_UNUSED bool rcl_logging_rosout_enabled(void)
See if logging rosout is enabled.
RCL_PUBLIC RCL_WARN_UNUSED rcl_ret_t rcl_logging_configure(const rcl_arguments_t *global_args, const rcl_allocator_t *allocator)
Configure the logging system.
RCL_PUBLIC RCL_WARN_UNUSED rcl_ret_t rcl_logging_fini(void)
rcutils_logging_output_handler_t rcl_logging_output_handler_t
The function signature to log messages.
RCL_PUBLIC void rcl_logging_multiple_output_handler(const rcutils_log_location_t *location, int severity, const char *name, rcutils_time_point_value_t timestamp, const char *format, va_list *args)
Default output handler used by rcl.
RCL_PUBLIC RCL_WARN_UNUSED rcl_ret_t rcl_logging_configure_with_output_handler(const rcl_arguments_t *global_args, const rcl_allocator_t *allocator, rcl_logging_output_handler_t output_handler)
Configure the logging system with the provided output handler.
Hold output of parsing command line arguments.
rmw_ret_t rcl_ret_t
The type that holds an rcl return code.