Updated: April 19, 2023 |
Set the verbosity level for the entire buffer set
#include <sys/slog2.h> int slog2_set_verbosity( slog2_buffer_t buffer, uint8_t verbosity );
For more information, see the entry for slog2_register().
The slog2_set_verbosity() routine adjusts the verbosity of the entire buffer set that the given buffer belongs to. This value overrides the value set in the PPS object and updates the PPS value.
0 on success, or -1 if an error occurred.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |