Skip to content

Logging

Logging can be helpful when you run into any issues. They contain information on how you use our products that helps us analyze, troubleshoot, and debug any issues you may experience.

  • To write the Core logs in the console, invoke:
DocReader.shared.processParams.logs = true
[RGLDocReader shared].processParams.logs = @YES;
  • Turn on/off deep logs saving (in case of reading problems):
DocReader.shared.processParams.debugSaveLogs = true
[RGLDocReader shared].processParams.debugSaveLogs = @YES;
  • Turn on/off input images saving (in case of reading problems):
DocReader.shared.processParams.debugSaveImages = true
[RGLDocReader shared].processParams.debugSaveImages = @YES;
  • Turn on/off input images cropping and saving:
DocReader.shared.processParams.debugSaveCroppedImages = true
[RGLDocReader shared].processParams.debugSaveCroppedImages = @YES;
  • Save the RFID session data to the file in binary format:
DocReader.shared.processParams.debugSaveRFIDSession = true
[RGLDocReader shared].processParams.debugSaveRFIDSession = @YES;
  • Get the path to the folder of the current session. Before using this, save logs. Each new session provides a different path:
DocReader.shared.processParams.sessionLogFolder
[RGLDocReader shared].processParams.sessionLogFolder
  • Remove personal information from logs:
DocReader.shared.processParams.depersonalizeLog = true
[RGLDocReader shared].processParams.depersonalizeLog = @YES;

Next Steps