Use this method to send named events to the OTel collector as logging message. Do not use a name of 'LOG', as this is uised for regular logging messages for debug.
false if the logging is NOT initialized, true if the send attempt was successful. Actual sending happens in the background asynchonously.
This method does not throw any known exceptions.
sendEvent({ name: "LOGGED_IN", payload: { key1: "", key2: { subKey1: "" } }, attributes: {}}) Copy
sendEvent({ name: "LOGGED_IN", payload: { key1: "", key2: { subKey1: "" } }, attributes: {}})
Use this method to send named events to the OTel collector as logging message. Do not use a name of 'LOG', as this is uised for regular logging messages for debug.