Function rcutils_logging_allocator_initialize
Defined in File logging.h
Function Documentation
-
rcutils_ret_t rcutils_logging_allocator_initialize(const rcutils_allocator_t *allocator)
Initialize the logging allocator.
This function is called automatically when using the logging macros. Initialize the logging allocator only if it is not initialized yet.
Attribute
Adherence
Allocates Memory
No
Thread-Safe
No
Uses Atomics
No
Lock-Free
Yes
- Returns:
RCUTILS_RET_OK if successful initialized, or
- Returns:
RCUTILS_RET_INVALID_ARGUMENT if the allocator is invalid.