Open
Description
Hello,
Context
While implementing the DataDog logger (@datadog/browser-logs
), I'm trying to make sure that it has been successfully initialized with a valid API token.
What I tried
From my understanding:
- The DD logger will initialized with or without a valid token
- It has no internal way of providing this info (e.g.
app_id
like DD rum,isInitialized
, ...)
The only way of getting the info seems to be the failing logging query resulting of a wrong token... Which is not really helping me.
The question
Did I miss something in the doc & issues regarding this topic? Is there a way of getting this information?
If not, wouldn't it be useful to provide this info somehow? What do you think?