Skip to content

Commit cd078eb

Browse files
author
Mihail Slavchev
committed
print V8 version at startup
1 parent 0b8b189 commit cd078eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/jni/NativePlatform.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,7 @@ Isolate* NativePlatform::PrepareV8Runtime(JEnv& env, const string& filesPath, js
367367
V8::SetFlagsFromString(Constants::V8_STARTUP_FLAGS.c_str(), Constants::V8_STARTUP_FLAGS.size());
368368
V8::SetCaptureStackTraceForUncaughtExceptions(true, 100, StackTrace::kOverview);
369369
V8::AddMessageListener(NativeScriptException::OnUncaughtError);
370+
__android_log_print(ANDROID_LOG_DEBUG, "TNS.Native", "V8 version %s", V8::GetVersion());
370371

371372
auto globalTemplate = ObjectTemplate::New();
372373

0 commit comments

Comments
 (0)