fs_crypto_set_logging()

Set the logging destination and verbosity

Synopsis:

#include <fs_crypto_api.h>
#include <sys/fs_crypto.h>

void fs_crypto_set_logging( FILE *logfile,
                            const int verbosity );

Arguments:

logfile
The file (e.g., stdout) that you want to send log messages to, or NULL if you want to disable logging.
verbosity
The level of verbosity for the logs, or -1 to disable logging.

Library:

libfscrypto

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

Description:

The fs_crypto_set_logging() function sets the logging destination and verbosity. By default, logging is disabled.

Classification:

QNX Neutrino

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