Logging Service
The Logging Service can be used to set the log levels of the BlueJeansSDK, and to upload logs to BlueJeans for troubleshooting.
In case of a bug, the BlueJeans support team will help you with the debugging process. To simplify the debugging process, you can use the logging service which uploads application logs from your phone to the BlueJeans server.
Logging
The loggingMode property sets the logging mode for the object.
BlueJeansSDK.loggingService.setLoggingMode(to loggingMode:LoggingMode)
The possible values are "debug, error, info, verbose, warning".
You can observe the loggingMode property to receive a notification whenever any change occurs to the loggingMode. Use the following command to observe the loggingMode property.
BlueJeansSDK.loggingService(loggingMode: BJNObservable<LoggingMode> { get })
Upload logs
The BlueJeans SDK provides an API for uploading logs with user comments. Once uploaded, the logs will be available to the BJN team on the private log server in the username folder. To keep track of the logs that correspond to the upload, the BJNSDK team needs a username and the time when the upload was performed. The username serves as a unique identifier for us to identify logs.
The iOS Client SDK will record logs. If you have experienced an issue you can upload these logs, with a comment and email for us to diagnose the issue.
let loggingService = BlueJeansSDK.loggingService // This will instantiate the logger, do this early in the lifecycle of your application.
loggingService.uploadLogs(comments: "Issue with the SDK", username: "abc@yourcompany.com") { uploadResult in
print("Log Upload Finished")
}