@@ -464,6 +464,8 @@ public abstract interface class io/sentry/EventProcessor {
464464
465465public final class io/sentry/ExperimentalOptions {
466466 public fun <init> (ZLio/sentry/protocol/SdkVersion;)V
467+ public fun getLogs ()Lio/sentry/SentryOptions$Logs;
468+ public fun setLogs (Lio/sentry/SentryOptions$Logs;)V
467469}
468470
469471public final class io/sentry/ExternalOptions {
@@ -491,6 +493,7 @@ public final class io/sentry/ExternalOptions {
491493 public fun getIgnoredTransactions ()Ljava/util/List;
492494 public fun getInAppExcludes ()Ljava/util/List;
493495 public fun getInAppIncludes ()Ljava/util/List;
496+ public fun getLogsSampleRate ()Ljava/lang/Double;
494497 public fun getMaxRequestBodySize ()Lio/sentry/SentryOptions$RequestSize;
495498 public fun getPrintUncaughtStackTrace ()Ljava/lang/Boolean;
496499 public fun getProfilesSampleRate ()Ljava/lang/Double;
@@ -505,6 +508,7 @@ public final class io/sentry/ExternalOptions {
505508 public fun getTracesSampleRate ()Ljava/lang/Double;
506509 public fun isCaptureOpenTelemetryEvents ()Ljava/lang/Boolean;
507510 public fun isEnableBackpressureHandling ()Ljava/lang/Boolean;
511+ public fun isEnableLogs ()Ljava/lang/Boolean;
508512 public fun isEnablePrettySerializationOutput ()Ljava/lang/Boolean;
509513 public fun isEnableSpotlight ()Ljava/lang/Boolean;
510514 public fun isEnabled ()Ljava/lang/Boolean;
@@ -519,6 +523,7 @@ public final class io/sentry/ExternalOptions {
519523 public fun setDsn (Ljava/lang/String;)V
520524 public fun setEnableBackpressureHandling (Ljava/lang/Boolean;)V
521525 public fun setEnableDeduplication (Ljava/lang/Boolean;)V
526+ public fun setEnableLogs (Ljava/lang/Boolean;)V
522527 public fun setEnablePrettySerializationOutput (Ljava/lang/Boolean;)V
523528 public fun setEnableSpotlight (Ljava/lang/Boolean;)V
524529 public fun setEnableUncaughtExceptionHandler (Ljava/lang/Boolean;)V
@@ -530,6 +535,7 @@ public final class io/sentry/ExternalOptions {
530535 public fun setIgnoredCheckIns (Ljava/util/List;)V
531536 public fun setIgnoredErrors (Ljava/util/List;)V
532537 public fun setIgnoredTransactions (Ljava/util/List;)V
538+ public fun setLogsSampleRate (Ljava/lang/Double;)V
533539 public fun setMaxRequestBodySize (Lio/sentry/SentryOptions$RequestSize;)V
534540 public fun setPrintUncaughtStackTrace (Ljava/lang/Boolean;)V
535541 public fun setProfilesSampleRate (Ljava/lang/Double;)V
@@ -1001,7 +1007,7 @@ public abstract interface class io/sentry/ISentryClient {
10011007 public fun captureException (Ljava/lang/Throwable;Lio/sentry/IScope;)Lio/sentry/protocol/SentryId;
10021008 public fun captureException (Ljava/lang/Throwable;Lio/sentry/IScope;Lio/sentry/Hint;)Lio/sentry/protocol/SentryId;
10031009 public abstract fun captureFeedback (Lio/sentry/protocol/Feedback;Lio/sentry/Hint;Lio/sentry/IScope;)Lio/sentry/protocol/SentryId;
1004- public abstract fun captureLogs (Lio/sentry/SentryLogEvents ;Lio/sentry/IScope;Lio/sentry/Hint;)V
1010+ public abstract fun captureLog (Lio/sentry/SentryLogEvent ;Lio/sentry/IScope;Lio/sentry/Hint;)V
10051011 public fun captureMessage (Ljava/lang/String;Lio/sentry/SentryLevel;)Lio/sentry/protocol/SentryId;
10061012 public fun captureMessage (Ljava/lang/String;Lio/sentry/SentryLevel;Lio/sentry/IScope;)Lio/sentry/protocol/SentryId;
10071013 public abstract fun captureProfileChunk (Lio/sentry/ProfileChunk;Lio/sentry/IScope;)Lio/sentry/protocol/SentryId;
@@ -2734,7 +2740,7 @@ public final class io/sentry/SentryClient : io/sentry/ISentryClient {
27342740 public fun captureEnvelope (Lio/sentry/SentryEnvelope;Lio/sentry/Hint;)Lio/sentry/protocol/SentryId;
27352741 public fun captureEvent (Lio/sentry/SentryEvent;Lio/sentry/IScope;Lio/sentry/Hint;)Lio/sentry/protocol/SentryId;
27362742 public fun captureFeedback (Lio/sentry/protocol/Feedback;Lio/sentry/Hint;Lio/sentry/IScope;)Lio/sentry/protocol/SentryId;
2737- public fun captureLogs (Lio/sentry/SentryLogEvents ;Lio/sentry/IScope;Lio/sentry/Hint;)V
2743+ public fun captureLog (Lio/sentry/SentryLogEvent ;Lio/sentry/IScope;Lio/sentry/Hint;)V
27382744 public fun captureProfileChunk (Lio/sentry/ProfileChunk;Lio/sentry/IScope;)Lio/sentry/protocol/SentryId;
27392745 public fun captureReplayEvent (Lio/sentry/SentryReplayEvent;Lio/sentry/IScope;Lio/sentry/Hint;)Lio/sentry/protocol/SentryId;
27402746 public fun captureSession (Lio/sentry/Session;Lio/sentry/Hint;)V
@@ -3033,14 +3039,16 @@ public final class io/sentry/SentryLockReason$JsonKeys {
30333039}
30343040
30353041public final class io/sentry/SentryLogEvent : io/sentry/JsonSerializable, io/sentry/JsonUnknown {
3036- public fun <init> (Lio/sentry/protocol/SentryId;Lio/sentry/SentryDate;Ljava/lang/String;)V
3037- public fun <init> (Lio/sentry/protocol/SentryId;Ljava/lang/Double;Ljava/lang/String;)V
3042+ public fun <init> (Lio/sentry/protocol/SentryId;Lio/sentry/SentryDate;Ljava/lang/String;Lio/sentry/SentryLevel; )V
3043+ public fun <init> (Lio/sentry/protocol/SentryId;Ljava/lang/Double;Ljava/lang/String;Lio/sentry/SentryLevel; )V
30383044 public fun getAttributes ()Ljava/util/Map;
3045+ public fun getBody ()Ljava/lang/String;
30393046 public fun getLevel ()Lio/sentry/SentryLevel;
30403047 public fun getTimestamp ()Ljava/lang/Double;
30413048 public fun getUnknown ()Ljava/util/Map;
30423049 public fun serialize (Lio/sentry/ObjectWriter;Lio/sentry/ILogger;)V
30433050 public fun setAttributes (Ljava/util/Map;)V
3051+ public fun setBody (Ljava/lang/String;)V
30443052 public fun setLevel (Lio/sentry/SentryLevel;)V
30453053 public fun setTimestamp (Ljava/lang/Double;)V
30463054 public fun setUnknown (Ljava/util/Map;)V
@@ -3423,6 +3431,20 @@ public final class io/sentry/SentryOptions$Cron {
34233431 public fun setDefaultTimezone (Ljava/lang/String;)V
34243432}
34253433
3434+ public final class io/sentry/SentryOptions$Logs {
3435+ public fun <init> ()V
3436+ public fun getBeforeSend ()Lio/sentry/SentryOptions$Logs$BeforeSendLogCallback;
3437+ public fun getSampleRate ()Ljava/lang/Double;
3438+ public fun isEnabled ()Z
3439+ public fun setBeforeSend (Lio/sentry/SentryOptions$Logs$BeforeSendLogCallback;)V
3440+ public fun setEnabled (Z)V
3441+ public fun setSampleRate (Ljava/lang/Double;)V
3442+ }
3443+
3444+ public abstract interface class io/sentry/SentryOptions$Logs$BeforeSendLogCallback {
3445+ public abstract fun execute (Lio/sentry/SentryLogEvent;Lio/sentry/Hint;)Lio/sentry/SentryLogEvent;
3446+ }
3447+
34263448public abstract interface class io/sentry/SentryOptions$ProfilesSamplerCallback {
34273449 public abstract fun sample (Lio/sentry/SamplingContext;)Ljava/lang/Double;
34283450}
0 commit comments