summaryrefslogtreecommitdiff
path: root/Sora/SoraApp.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Sora/SoraApp.swift')
-rw-r--r--Sora/SoraApp.swift8
1 files changed, 6 insertions, 2 deletions
diff --git a/Sora/SoraApp.swift b/Sora/SoraApp.swift
index 45a9ee1..cea526f 100644
--- a/Sora/SoraApp.swift
+++ b/Sora/SoraApp.swift
@@ -1,8 +1,12 @@
import SwiftUI
-func debugPrint(_ items: Any...) {
+func debugPrint(
+ _ items: Any...,
+ separator: String = " ",
+ terminator: String = "\n"
+) {
#if DEBUG
- Swift.print(items, terminator: "\n")
+ Swift.print(items, separator: separator, terminator: terminator)
#endif
}