                 do {
                     try session.setCategory(SessionCategoryString[category]!)
                 } catch let error as NSError {
-                    AKLog("AKAsettings Error: Cannot set AVAudioSession Category to \(SessionCategoryString[category])")
-                    AKLog("AKAsettings Error: \(error))")
+                    AKLog("AKSettings Error: Cannot set AVAudioSession Category to \(SessionCategoryString[category])")
+                    AKLog("AKSettings Error: \(error))")
                     throw error
                 }
             }

                do {
                    try session.setCategory(SessionCategoryString[category]!, with: options!)
                } catch let error as NSError {
                    AKLog("AKAsettings Error: Cannot set AVAudioSession Category to \(SessionCategoryString[category])) with options: \(String(describing: options!))")
                    AKLog("AKAsettings Error: \(error))")
                    throw error
                }
                

        do {
            try session.setActive(true)
        } catch let error as NSError {
            AKLog("AKSettings Error: Cannot set AVAudioSession.setActive to true")
            AKLog("AKSettings Error: \(error))")
            throw error
        }

