function captureMessage(message, captureContext) {
    var syntheticException = new Error(message);
    // This is necessary to provide explicit scopes upgrade, without changing the original
    // arity of the `captureMessage(message, level)` method.
    var level = typeof captureContext === 'string' ? captureContext : undefined;
    var context = typeof captureContext !== 'string' ? { captureContext: captureContext } : undefined;
    return callOnHub('captureMessage', message, level, __assign$4({ originalException: message, syntheticException: syntheticException }, context));
}
Captures a message event and sends it to Sentry.

@param message The message to send to Sentry.
@param Severity Define the level of the message.
@returns The generated eventId.