         } else {
             Logger.internalSDKLoggingEnabled = false
         }
+        
+        if(isUncaughtExceptionDetection.enabled){
+            Logger.isUncaughtExceptionDetected = true
+        } else {
+            Logger.isUncaughtExceptionDetected = false
+        }
+        
+        if(!maxLogStoreSize.text!.isEmpty){
+            Logger.maxLogStoreSize = Int(maxLogStoreSize.text)
+        }
+        
+        
+        if(storeLogEnabled.enabled){
+                Logger.logStoreEnabled = true
+        } else {
+            Logger.logStoreEnabled = false
+        }
+        
+        
+        
         
 
         switch level {

    @IBOutlet weak var levelPicker: UIPickerView!
    @IBOutlet weak var typePicker: UIPickerView!
    @IBOutlet weak var logText: UITextView!
    
    @IBOutlet weak var capture: UISwitch!

    @IBOutlet weak var logMessage: UITextField!

import BMSCore

class LogController: UIViewController, UIPickerViewDelegate, UIPickerViewDataSource{
    
    @IBOutlet weak var crashButton: UIButton!

    let logArray = ["none", "debug", "info", "warn", "error", "fatal"]
    var level = "debug"
