Support logging via the API for browser errors