sentry-vir - v4.5.1
    Preparing search index...

    Function setLoggingDisabled

    • Globally enable or disable all sentry-vir logging. While disabled, sendLog and handleError calls are dropped entirely (nothing is sent to Sentry, nothing is logged to the console, and nothing is queued for a later send) and any events captured directly through the Sentry SDK itself are dropped in beforeSend.

      This is also exposed as a method on the client returned from initSentry and can be set at init time with the disableLogging init option.

      Parameters

      • this: void
      • disabled: boolean

      Returns void