                 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))")
+                    AKLog("AKSettings Error: Cannot set AVAudioSession Category to \(SessionCategoryString[category])) with options: \(String(describing: options!))")
+                    AKLog("AKSettings Error: \(error))")
                     throw error
                 }
                 


    /// Convenience method accessible from Objective-C
    @objc open static func setSession(category: SessionCategory, options: UInt) throws {
        try setSession(category: category, with: AVAudioSessionCategoryOptions(rawValue: options))
    }

    /// Set the audio session type

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