Skip to content

Commit

Permalink
chore: Log when category changed
Browse files Browse the repository at this point in the history
  • Loading branch information
mrousavy committed Nov 21, 2023
1 parent ad578eb commit 6235a77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package/ios/Extensions/AVAudioSession+updateCategory.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ extension AVAudioSession {
ReactLogger.log(level: .info,
message: "Changing AVAudioSession category from \(self.category.rawValue) -> \(category.rawValue)")
try setCategory(category, options: options)
ReactLogger.log(level: .info, message: "AVAudioSession category changed!")
}
}
}

0 comments on commit 6235a77

Please sign in to comment.