I added console.error and console.trace bindings in #2728, but they seem to not be available. Docs aren't available either.
Happy to contribute a fix for this, but I have no idea where to look 😅 Js_console module doesn't have an mli file, so not sure what is missing.