Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 2c7db3be1656f10d475dd8e1de71a89ed374cdd6..ebaac1e9942f0bc2ebbea53ce4428cba6fe20ee9 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -401,6 +401,12 @@ void V8::SetFatalErrorHandler(FatalErrorCallback that) { |
} |
+void V8::SetEventLogger(LogEventCallback that) { |
+ i::Isolate* isolate = EnterIsolateIfNeeded(); |
+ isolate->set_event_logger(that); |
Sven Panne
2014/03/05 07:47:29
This line is a *very* strong hint that SetEventLog
Yang
2014/03/05 08:18:31
I agree. I would also suggest adding it to V8::Iso
fmeawad
2014/03/06 00:24:46
Done.
|
+} |
+ |
+ |
void V8::SetAllowCodeGenerationFromStringsCallback( |
AllowCodeGenerationFromStringsCallback callback) { |
i::Isolate* isolate = EnterIsolateIfNeeded(); |