[ADD] LocalConsole showing STDOUT and STDERR

This commit is contained in:
Fabian Thies
2023-02-13 18:56:34 +01:00
parent 2fffa6e122
commit b2f81bf7c6
5 changed files with 87 additions and 0 deletions

View File

@@ -58,6 +58,9 @@ final class AppDelegate: UIResponder, UIApplicationDelegate {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool
{
// Copy STDOUT and STDERR to the logging console
_ = OutputCapturer.shared
// Register default settings before doing anything else.
UserDefaults.registerDefaults()