Interface LogBeaconConfig


@JsType(isNative=true, name="ng.LogBeaconConfig", namespace="<global>") public interface LogBeaconConfig
Declarative remote logging configuration for `navigator.sendBeacon()`.
  • Method Details

    • create

      @JsOverlay static LogBeaconConfig create()
    • getFailure

      @JsProperty String getFailure()
      Action taken when serialization or Beacon queueing fails.
    • getLevels

      @JsProperty elemental2.core.JsArray<String> getLevels()
      Levels delivered remotely. Defaults to `error` only.
    • getSerializer

      @JsProperty String getSerializer()
      Name of an injectable LogBeaconSerializer.
    • getUrl

      @JsProperty String getUrl()
      Beacon endpoint URL.
    • setFailure

      @JsProperty void setFailure(String failure)
      Action taken when serialization or Beacon queueing fails.
    • setLevels

      @JsProperty void setLevels(elemental2.core.JsArray<String> levels)
      Levels delivered remotely. Defaults to `error` only.
    • setSerializer

      @JsProperty void setSerializer(String serializer)
      Name of an injectable LogBeaconSerializer.
    • setUrl

      @JsProperty void setUrl(String url)
      Beacon endpoint URL.