diff --git a/AppRunMan/Tweak.x b/AppRunMan/Tweak.x index 0a966da..89dbaf3 100644 --- a/AppRunMan/Tweak.x +++ b/AppRunMan/Tweak.x @@ -12,6 +12,11 @@ #import "server/MySimpleServer.h" #import "server/FloatingWindow.h" +__attribute__((constructor)) static void SetupXSLog() { + XSLogSetupLogWithFilePath(@"/var/mobile/Documents/AppRunMain.log", 50 * 1024 * 1024); + XSLogRedirectNSLog(); +} + @interface UIWindow (FloatingWindow) @end