From c36f34346dcfdf402173d46c801d1c0b4d228ed8 Mon Sep 17 00:00:00 2001 From: Maarten Billemont Date: Tue, 7 May 2013 16:16:33 -0400 Subject: [PATCH] Output info level logs when sendInfo is enabled to aid in debugging. --- MasterPassword/ObjC/iOS/MPiOSAppDelegate.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MasterPassword/ObjC/iOS/MPiOSAppDelegate.m b/MasterPassword/ObjC/iOS/MPiOSAppDelegate.m index 85dcc7bb..50fffc09 100644 --- a/MasterPassword/ObjC/iOS/MPiOSAppDelegate.m +++ b/MasterPassword/ObjC/iOS/MPiOSAppDelegate.m @@ -21,6 +21,9 @@ #ifdef DEBUG [PearlLogger get].printLevel = PearlLogLevelDebug; //[NSClassFromString(@"WebView") performSelector:NSSelectorFromString(@"_enableRemoteInspector")]; +#else + if ([[MPiOSConfig get].sendInfo boolValue]) + [PearlLogger get].printLevel = PearlLogLevelInfo; #endif }