Function sendToSentry

  • Sends messages to Sentry.

    Messages with level greater or equal to ERROR are sent as exceptions. Others are sent as regular messages.

    Parameters

    • client: Pick<Client<ClientOptions<BaseTransportOptions>>, "captureMessage" | "captureException">

      The Sentry client.

    Returns LogProcessor

    The processor callback.