With respect to the following links, I am facing a 404 error and unable to access the documentation related to the DTRUM API to gain more information about the Dynatrace RUM API.
@suhasbothe Dynatrace RUM JavaScript and RUM in general does not have any concept of “sending a log message”. You can send errors (dtrum.reportError), custom errors (dtrum.reportCustomError), custom user actions or business events (Dynatrace platform only). Most likely you want to use reportCustomError, but it depends on what you are trying to achieve and how it fits in your Dynatrace deployment.