slog2_get_verbosity()

Get the verbosity level of the entire buffer set

Synopsis:

#include <sys/slog2.h>

uint8_t slog2_get_verbosity( slog2_buffer_t buffer );

Arguments:

buffer
A handle for a buffer in the buffer set whose verbosity you want to get, or NULL if you want to get the verbosity of the default buffer that you earlier set with slog2_set_default_buffer().

Library:

libslog2

Use the -l slog2 option to qcc to link against this library.

Description:

The slog2_get_verbosity() function returns the verbosity of the entire buffer set that the given buffer belongs to.

Returns:

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.

Classification:

QNX Neutrino

Safety:  
Cancellation point No
Interrupt handler No
Signal handler Yes
Thread Yes