This chapter describes the log backend ring buffer. All APIs provided by the component should be called explicitly by up layer. For examples, if the ring buffer is used as backend of the log component, the function LOG_InitBackendRingbuffer should be called explicitly.
struct log_backend_ring_buffer_config_t |
This function initializes the backend ringbuffer for log component. The function should be called in application layer. The function should be called after the log component has been initialized (the function LOG_Init has been called).
- Parameters
-
config | Ring buffer configuration for backend ring buffer. |
void LOG_DeinitBackendRingbuffer |
( |
void |
| ) |
|
This function de-initializes the backend ringbuffer for log component.