slog2_set_verbosity()
QNX SDP8.0C Library ReferenceAPIDeveloper
Set the verbosity level for the entire buffer set
Synopsis:
#include <sys/slog2.h>
int slog2_set_verbosity( slog2_buffer_t buffer,
                         uint8_t verbosity );
Arguments:
- buffer
 - A handle for a buffer in the buffer set whose verbosity you want to set. This must not be NULL (i.e., you can't set the verbosity of the default buffet in this way).
 - verbosity
 - The new verbosity setting; one of:
  
- SLOG2_SHUTDOWN
 - SLOG2_CRITICAL
 - SLOG2_ERROR
 - SLOG2_WARNING
 - SLOG2_NOTICE
 - SLOG2_INFO
 - SLOG2_DEBUG1
 - SLOG2_DEBUG2
 
For more information, see the entry for slog2_register().
 
Library:
libslog2
Use the -l slog2 option to qcc to link against this library.
Description:
The slog2_set_verbosity() routine adjusts the verbosity of the entire buffer set that the given buffer belongs to.
Returns:
0 on success, or -1 if an error occurred.
Classification:
| Safety: | |
|---|---|
| Cancellation point | No | 
| Signal handler | Yes | 
| Thread | Yes | 
Page updated: 
