We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e391ab commit 51ae7caCopy full SHA for 51ae7ca
NativeScript/runtime/ModuleInternalCallbacks.mm
@@ -728,8 +728,9 @@ static bool IsDocumentsPath(const std::string& path) {
728
// the HTTP dev loader and return before any filesystem candidate logic runs.
729
if (StartsWith(spec, "http://") || StartsWith(spec, "https://")) {
730
std::string key = CanonicalizeHttpUrlKey(spec);
731
- // Added instrumentation for unified phase logging
732
- Log(@"[http-esm][compile][begin] %s", key.c_str());
+ if (IsScriptLoadingLogEnabled()) {
+ Log(@"[http-esm][compile][begin] %s", key.c_str());
733
+ }
734
// Reuse compiled module if present and healthy
735
auto itExisting = g_moduleRegistry.find(key);
736
if (itExisting != g_moduleRegistry.end()) {
0 commit comments