Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(TIMOB-26695): only use debug logs in core-sdk development #10572

Merged
merged 3 commits into from
Mar 25, 2019
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions iphone/TitaniumKit/TitaniumKit.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -894,6 +894,7 @@
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"DEBUG_RESOURCE_PATHS=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
Expand Down
2 changes: 2 additions & 0 deletions iphone/TitaniumKit/TitaniumKit/Sources/API/TiUtils.m
Original file line number Diff line number Diff line change
Expand Up @@ -1490,7 +1490,9 @@ + (NSData *)loadAppResource:(NSURL *)url
if ([appurlstr characterAtIndex:0] == '/') {
appurlstr = [appurlstr substringFromIndex:1];
}
#if DEBUG_RESOURCE_PATHS
DebugLog(@"[DEBUG] Loading: %@, Resource: %@", urlstring, appurlstr);
#endif
return [AppRouter performSelector:@selector(resolveAppAsset:) withObject:appurlstr];
}
}
Expand Down