Re: [v8-users] Overriding platform specific logging feature

2019-10-09 Thread Darin Dimitrov
In my case, the output is specific to a particular application as I need to include some additional environment information to the output. On Wednesday, October 9, 2019 at 3:40:58 PM UTC+3, Jakob Gruber wrote: > > Is the override specific to iOS or to a particular application? If the > former, w

Re: [v8-users] Overriding platform specific logging feature

2019-10-09 Thread Jakob Gruber
Is the override specific to iOS or to a particular application? If the former, why not upstream it in V8? On Wed, Oct 9, 2019 at 2:17 PM Darin Dimitrov wrote: > I am embedding V8 in an iOS application and I would like to override the > "OS::Print" method: > https://chromium.googlesource.com/v8/v

[v8-users] Overriding platform specific logging feature

2019-10-09 Thread Darin Dimitrov
I am embedding V8 in an iOS application and I would like to override the "OS::Print" method: https://chromium.googlesource.com/v8/v8.git/+/3.7.12.26/src/platform-posix.cc#217 This method already handles the Android case by redirecting the output to logcat: void OS::VPrint(const char* format, v