Output info level logs when sendInfo is enabled to aid in debugging.
This commit is contained in:
parent
cd6b83ffe8
commit
c36f34346d
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user