     @IBOutlet weak var levelPicker: UIPickerView!
     @IBOutlet weak var typePicker: UIPickerView!
     @IBOutlet weak var logText: UITextView!
-    
+    @IBOutlet weak var maxLogStoreSize: UITextField!
+
+  
+    @IBOutlet weak var storeLogEnabled: UITextField!
+    @IBOutlet weak var isUncaughtExceptionDetection: UISwitch!
     @IBOutlet weak var capture: UISwitch!
 
     @IBOutlet weak var logMessage: UITextField!

import BMSCore

class LogController: UIViewController, UIPickerViewDelegate, UIPickerViewDataSource{

    @IBOutlet weak var crashButton: UIButton!
    
    //TODO: add logStoreEnabled
    // add maxLogStoreSize
    
    // add isUncaughtExcpetionDetected

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

        } 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 {
