MCPcopy Create free account
hub / github.com/Snapchat/Valdi / disableJsLogging

Method disableJsLogging

valdi/src/valdi/runtime/ValdiRuntimeTweaks.cpp:109–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109bool ValdiRuntimeTweaks::disableJsLogging() const {
110 auto configKey = StringCache::getGlobal().makeStringFromLiteral(std::string_view("VALDI_DISABLE_JS_LOGGING"));
111 return _tweakValueProvider->getBool(configKey, false);
112}
113
114bool ValdiRuntimeTweaks::enableRenderRequestContextFix() const {
115 auto configKey =

Callers 1

buildContextMethod · 0.80

Calls 3

getGlobalFunction · 0.85
makeStringFromLiteralMethod · 0.80
getBoolMethod · 0.45

Tested by

no test coverage detected