Updated: April 19, 2023 |
Get the verbosity level of the entire buffer set
#include <sys/slog2.h> uint8_t slog2_get_verbosity( slog2_buffer_t buffer );
The slog2_get_verbosity() function returns the verbosity of the entire buffer set that the given buffer belongs to.
The current verbosity level (see the entry for slog2_register()), or SLOG2_INVALID_VERBOSITY if buffer is NULL and there's currently no default buffer.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |