Sends the collected logs to the logger API. Returns a promise that resolves to true
if the logs were sent successfully, false otherwise. You can optionally pass the API
URL to send the logs to. If no URL is passed, the logs will be sent to the default
logger API.
Parameters
OptionalapiURL: string
Optional API URL to send the logs to. Only use it for development purposes.
Returns Promise<boolean>
Promise that resolves to true if the logs were sent successfully, false otherwise.
Sends the collected logs to the logger API. Returns a promise that resolves to true if the logs were sent successfully, false otherwise. You can optionally pass the API URL to send the logs to. If no URL is passed, the logs will be sent to the default logger API.