Re: [v8-users] Questions when adding global object

2018-06-25 Thread Jakob Kummerow
On Mon, Jun 25, 2018 at 8:30 PM zcw wrote: > Thank you so much! > I wanted to save the log to a specific file. I tried using the provided > console but couldn't find where it stored the log message. > On a closer look at the code, it seems that you *have to* provide a ConsoleDelegate if you

Re: [v8-users] Questions when adding global object

2018-06-25 Thread zcw
Thank you so much! I wanted to save the log to a specific file. I tried using the provided console but couldn't find where it stored the log message. And could the ConsoleDelegate work for the release build? On Monday, June 25, 2018 at 6:14:42 PM UTC-7, Jakob Kummerow wrote: > > V8 now

[v8-users] Questions when adding global object

2018-06-25 Thread zwc
Hello, we are working on upgrading v8 from 5.3 to 6.7-lkgr. But I recently found a strange behavior for one global object with name "console". In the old version, we have a global object "console" for logging info. But when upgraded to 6.7, the "console"'s callbacks functions won't get