nfc_set_verbosity()

Set the verbosity of logging for NFC API-specific logs.

Synopsis:

#include <nfc/nfc.h>
 
NFC_API void nfc_set_verbosity(unsigned verbosity)

Since:

BlackBerry 10.0.0

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).

Returns:

None.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus