2
0

Output info level logs when sendInfo is enabled to aid in debugging.

This commit is contained in:
Maarten Billemont 2013-05-07 16:16:33 -04:00
parent cd6b83ffe8
commit c36f34346d

View File

@ -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
}