rcl_logging_spdlog
master
Implementation of rcl_logging API for an spdlog backend.
|
Go to the documentation of this file.
15 #ifndef RCL_LOGGING_INTERFACE__RCL_LOGGING_INTERFACE_H_
16 #define RCL_LOGGING_INTERFACE__RCL_LOGGING_INTERFACE_H_
19 #include "rcutils/allocator.h"
123 #endif // RCL_LOGGING_INTERFACE__RCL_LOGGING_INTERFACE_H_
RCL_LOGGING_INTERFACE_PUBLIC void rcl_logging_external_log(int severity, const char *name, const char *msg)
Log a message.
@ RCL_LOGGING_RET_INVALID_ARGUMENT
Definition: rcl_logging_interface.h:29
@ RCL_LOGGING_RET_ERROR
Definition: rcl_logging_interface.h:28
RCL_LOGGING_INTERFACE_PUBLIC RCUTILS_WARN_UNUSED rcl_logging_ret_t rcl_logging_external_initialize(const char *config_file, rcutils_allocator_t allocator)
Initialize the external logging library.
RCL_LOGGING_INTERFACE_PUBLIC rcl_logging_ret_t rcl_logging_get_logging_directory(rcutils_allocator_t allocator, char **directory)
Get the logging directory.
#define RCL_LOGGING_INTERFACE_PUBLIC
Definition: visibility_control.h:47
@ RCL_LOGGING_RET_OK
Definition: rcl_logging_interface.h:27
RCL_LOGGING_INTERFACE_PUBLIC RCUTILS_WARN_UNUSED rcl_logging_ret_t rcl_logging_external_set_logger_level(const char *name, int level)
Set the severity level for a logger.
@ RCL_LOGGING_RET_CONFIG_FILE_INVALID
Definition: rcl_logging_interface.h:31
@ RCL_LOGGING_RET_CONFIG_FILE_DOESNT_EXIST
Definition: rcl_logging_interface.h:30
rcl_logging_ret_t
Definition: rcl_logging_interface.h:25
RCL_LOGGING_INTERFACE_PUBLIC RCUTILS_WARN_UNUSED rcl_logging_ret_t rcl_logging_external_shutdown()
Free the resources allocated for the external logging system.