Hi, maybe looking at V8's PrintF helper
<https://source.chromium.org/chromium/chromium/src/+/main:v8/src/base/platform/platform-posix.cc;drc=ff739842eaf3ee00c4af77861b63e984d2e75d7a;l=891>
can get you some hints?
We use that specifically to get better logging on android.

On Fri, 22 Jul 2022 at 17:21, 'Alex Nahapetyan' via v8-dev <
[email protected]> wrote:

> Hey y'all,
>
> As part of our research effort at my uni we patch V8 to log
> <https://github.com/wspr-ncsu/visiblev8/blob/sandy-netlog/patches/c1e1dff6f551c4aab857/trace-apis-obj-netlog.diff>javascript
> API access. While attempt to do this on android and extracting logs via a
> network connection, our vv8_connect_to_logging_server_direct method fails
> (it's a simple c socket code). I was wondering if anyone can help us out to
> figure out a way to get stdout or any for of logging out of v8 on android
> or if anyone is aware why this might happen.
>
> Thanks for reading through!
>
> --
> --
> v8-dev mailing list
> [email protected]
> http://groups.google.com/group/v8-dev
> ---
> You received this message because you are subscribed to the Google Groups
> "v8-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/v8-dev/65c6fd35-8880-4f17-96cd-e1628c3004d1n%40googlegroups.com
> <https://groups.google.com/d/msgid/v8-dev/65c6fd35-8880-4f17-96cd-e1628c3004d1n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
Camillo Bruni |  Software Engineer, V8 |  Google Germany GmbH |  Erika-Mann
Str. 33, 80636 München

Registergericht und -nummer: Hamburg, HRB 86891 | Sitz der Gesellschaft:
Hamburg | Geschäftsführer: Paul Manicle, Halimah DeLaine Prado

Diese E-Mail ist vertraulich. Falls Ssie diese fälschlicherweise erhalten
haben sollten, leiten Sie diese bitte nicht an jemand anderes weiter,
löschen Sie alle Kopien und Anhänge davon und lassen Sie mich bitte wissen,
dass die E-Mail an die falsche Person gesendet wurde.  This e-mail is
confidential. If you received this communication by mistake, please don't
forward it to anyone else, please erase all copies and attachments, and
please let me know that it has gone to the wrong person.

-- 
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-dev/CAOeS1i94oO03ZB0d%3DQ-i2AEdaoZcir3C51W%2BO0N1tCh03ND%3D4w%40mail.gmail.com.

Reply via email to