To enable logging, call SIGNDOC_DocumentLoader_initLogging(). You can also set the following environment variables to enable logging:
- SPDEBUG The logging level: 0 (log nothing) through 5 (log everything), optionally followed by T to log process and thread IDs.
- SPDEBUGDIR The pathname of the log file. The default value is logfile.log. If the value of SPDEBUGDIR is an existing directory, logfile.log in that directory will be used. On Android, SPDEBUGDIR can be set to "logcat:TAG" to log via logcat with tag TAG.