Set the verbosity of logging for NFC API-specific logs.
Synopsis:
#include <nfc/nfc.h>
NFC_API void nfc_set_verbosity(unsigned verbosity)
Arguments:
- verbosity
-
The verbosity level to set.
Library:
libnfc (For the qcc command, use the -l nfc option to link against this library)
Description:
This function sets the level of detail in the logs captured. By default, no logging output is generated for NFC operations. If you intend to use NFC API-specific logging, then set the verbosity to one of the following valid values:
- 0: No logs are generated.
- 1: Error and warning logs are generated.
- 2: Error, warning, and information logs are generated.
When logging is enabled, logs are generated on stderr and are captured in your application's log file. (i.e., /accounts/1000/appdata/<sandbox>/logs/log).