Logs instead of prints

This commit is contained in:
Leon Böttger committed 2025-05-16 13:19:01 +02:00
1 parent 6e33998fb6
commit ca722b8894
7 files changed
+16 -18

No files matched your search

+3 -3
View File
@@ -110,12 +110,12 @@ struct LargeAppIconView<Content: View>: View {
.padding(.top, 50)
.onTapGesture {
taps += 1
print("Clicked \(taps) times")
log("Clicked \(taps) times")
if taps == 5 {
sendLoggingString()
print("Copied log to clipboard")
log("Copied log to clipboard")
taps = 0
}
@@ -147,7 +147,7 @@ func sendLoggingString() {
func sendEmailWithAttachment(fileURL: URL, recipients: [String], subject: String) {
guard let emailService = NSSharingService(named: .composeEmail) else {
print("No email service available")
log("No email service available")
return
}