textUTF-8 text to read. JS strings are encoded for this call; a nonempty Uint8Array ending in NUL is passed directly, otherwise its bytes are copied and NUL-terminated.
Call DebugLogUnformatted(text) directly from JS and use ShowDebugLogWindow() to inspect the log. Native logging may also mirror entries to terminal output when its OutputToTTY option is enabled. Add a trailing newline when you want a separate log line; text is not interpreted as a format string.
Append text to the debug log.