@@ -352,6 +352,7 @@ public final class io/sentry/DataCategory : java/lang/Enum {
352352 public static final field Attachment Lio/sentry/DataCategory;
353353 public static final field Default Lio/sentry/DataCategory;
354354 public static final field Error Lio/sentry/DataCategory;
355+ public static final field LogItem Lio/sentry/DataCategory;
355356 public static final field Monitor Lio/sentry/DataCategory;
356357 public static final field Profile Lio/sentry/DataCategory;
357358 public static final field ProfileChunkUi Lio/sentry/DataCategory;
@@ -462,6 +463,8 @@ public abstract interface class io/sentry/EventProcessor {
462463
463464public final class io/sentry/ExperimentalOptions {
464465 public fun <init> (ZLio/sentry/protocol/SdkVersion;)V
466+ public fun getLogs ()Lio/sentry/SentryOptions$Logs;
467+ public fun setLogs (Lio/sentry/SentryOptions$Logs;)V
465468}
466469
467470public final class io/sentry/ExternalOptions {
@@ -489,6 +492,7 @@ public final class io/sentry/ExternalOptions {
489492 public fun getIgnoredTransactions ()Ljava/util/List;
490493 public fun getInAppExcludes ()Ljava/util/List;
491494 public fun getInAppIncludes ()Ljava/util/List;
495+ public fun getLogsSampleRate ()Ljava/lang/Double;
492496 public fun getMaxRequestBodySize ()Lio/sentry/SentryOptions$RequestSize;
493497 public fun getPrintUncaughtStackTrace ()Ljava/lang/Boolean;
494498 public fun getProfilesSampleRate ()Ljava/lang/Double;
@@ -503,6 +507,7 @@ public final class io/sentry/ExternalOptions {
503507 public fun getTracesSampleRate ()Ljava/lang/Double;
504508 public fun isCaptureOpenTelemetryEvents ()Ljava/lang/Boolean;
505509 public fun isEnableBackpressureHandling ()Ljava/lang/Boolean;
510+ public fun isEnableLogs ()Ljava/lang/Boolean;
506511 public fun isEnablePrettySerializationOutput ()Ljava/lang/Boolean;
507512 public fun isEnableSpotlight ()Ljava/lang/Boolean;
508513 public fun isEnabled ()Ljava/lang/Boolean;
@@ -517,6 +522,7 @@ public final class io/sentry/ExternalOptions {
517522 public fun setDsn (Ljava/lang/String;)V
518523 public fun setEnableBackpressureHandling (Ljava/lang/Boolean;)V
519524 public fun setEnableDeduplication (Ljava/lang/Boolean;)V
525+ public fun setEnableLogs (Ljava/lang/Boolean;)V
520526 public fun setEnablePrettySerializationOutput (Ljava/lang/Boolean;)V
521527 public fun setEnableSpotlight (Ljava/lang/Boolean;)V
522528 public fun setEnableUncaughtExceptionHandler (Ljava/lang/Boolean;)V
@@ -528,6 +534,7 @@ public final class io/sentry/ExternalOptions {
528534 public fun setIgnoredCheckIns (Ljava/util/List;)V
529535 public fun setIgnoredErrors (Ljava/util/List;)V
530536 public fun setIgnoredTransactions (Ljava/util/List;)V
537+ public fun setLogsSampleRate (Ljava/lang/Double;)V
531538 public fun setMaxRequestBodySize (Lio/sentry/SentryOptions$RequestSize;)V
532539 public fun setPrintUncaughtStackTrace (Ljava/lang/Boolean;)V
533540 public fun setProfilesSampleRate (Ljava/lang/Double;)V
@@ -991,7 +998,7 @@ public abstract interface class io/sentry/ISentryClient {
991998 public fun captureException (Ljava/lang/Throwable;Lio/sentry/Hint;)Lio/sentry/protocol/SentryId;
992999 public fun captureException (Ljava/lang/Throwable;Lio/sentry/IScope;)Lio/sentry/protocol/SentryId;
9931000 public fun captureException (Ljava/lang/Throwable;Lio/sentry/IScope;Lio/sentry/Hint;)Lio/sentry/protocol/SentryId;
994- public abstract fun captureLogs (Lio/sentry/SentryLogEvents ;Lio/sentry/IScope;Lio/sentry/Hint;)V
1001+ public abstract fun captureLog (Lio/sentry/SentryLogEvent ;Lio/sentry/IScope;Lio/sentry/Hint;)V
9951002 public fun captureMessage (Ljava/lang/String;Lio/sentry/SentryLevel;)Lio/sentry/protocol/SentryId;
9961003 public fun captureMessage (Ljava/lang/String;Lio/sentry/SentryLevel;Lio/sentry/IScope;)Lio/sentry/protocol/SentryId;
9971004 public abstract fun captureProfileChunk (Lio/sentry/ProfileChunk;Lio/sentry/IScope;)Lio/sentry/protocol/SentryId;
@@ -2714,7 +2721,7 @@ public final class io/sentry/SentryClient : io/sentry/ISentryClient {
27142721 public fun captureCheckIn (Lio/sentry/CheckIn;Lio/sentry/IScope;Lio/sentry/Hint;)Lio/sentry/protocol/SentryId;
27152722 public fun captureEnvelope (Lio/sentry/SentryEnvelope;Lio/sentry/Hint;)Lio/sentry/protocol/SentryId;
27162723 public fun captureEvent (Lio/sentry/SentryEvent;Lio/sentry/IScope;Lio/sentry/Hint;)Lio/sentry/protocol/SentryId;
2717- public fun captureLogs (Lio/sentry/SentryLogEvents ;Lio/sentry/IScope;Lio/sentry/Hint;)V
2724+ public fun captureLog (Lio/sentry/SentryLogEvent ;Lio/sentry/IScope;Lio/sentry/Hint;)V
27182725 public fun captureProfileChunk (Lio/sentry/ProfileChunk;Lio/sentry/IScope;)Lio/sentry/protocol/SentryId;
27192726 public fun captureReplayEvent (Lio/sentry/SentryReplayEvent;Lio/sentry/IScope;Lio/sentry/Hint;)Lio/sentry/protocol/SentryId;
27202727 public fun captureSession (Lio/sentry/Session;Lio/sentry/Hint;)V
@@ -3013,14 +3020,16 @@ public final class io/sentry/SentryLockReason$JsonKeys {
30133020}
30143021
30153022public final class io/sentry/SentryLogEvent : io/sentry/JsonSerializable, io/sentry/JsonUnknown {
3016- public fun <init> (Lio/sentry/protocol/SentryId;Lio/sentry/SentryDate;Ljava/lang/String;)V
3017- public fun <init> (Lio/sentry/protocol/SentryId;Ljava/lang/Double;Ljava/lang/String;)V
3023+ public fun <init> (Lio/sentry/protocol/SentryId;Lio/sentry/SentryDate;Ljava/lang/String;Lio/sentry/SentryLevel; )V
3024+ public fun <init> (Lio/sentry/protocol/SentryId;Ljava/lang/Double;Ljava/lang/String;Lio/sentry/SentryLevel; )V
30183025 public fun getAttributes ()Ljava/util/Map;
3026+ public fun getBody ()Ljava/lang/String;
30193027 public fun getLevel ()Lio/sentry/SentryLevel;
30203028 public fun getTimestamp ()Ljava/lang/Double;
30213029 public fun getUnknown ()Ljava/util/Map;
30223030 public fun serialize (Lio/sentry/ObjectWriter;Lio/sentry/ILogger;)V
30233031 public fun setAttributes (Ljava/util/Map;)V
3032+ public fun setBody (Ljava/lang/String;)V
30243033 public fun setLevel (Lio/sentry/SentryLevel;)V
30253034 public fun setTimestamp (Ljava/lang/Double;)V
30263035 public fun setUnknown (Ljava/util/Map;)V
@@ -3401,6 +3410,20 @@ public final class io/sentry/SentryOptions$Cron {
34013410 public fun setDefaultTimezone (Ljava/lang/String;)V
34023411}
34033412
3413+ public final class io/sentry/SentryOptions$Logs {
3414+ public fun <init> ()V
3415+ public fun getBeforeSend ()Lio/sentry/SentryOptions$Logs$BeforeSendLogCallback;
3416+ public fun getSampleRate ()Ljava/lang/Double;
3417+ public fun isEnabled ()Z
3418+ public fun setBeforeSend (Lio/sentry/SentryOptions$Logs$BeforeSendLogCallback;)V
3419+ public fun setEnabled (Z)V
3420+ public fun setSampleRate (Ljava/lang/Double;)V
3421+ }
3422+
3423+ public abstract interface class io/sentry/SentryOptions$Logs$BeforeSendLogCallback {
3424+ public abstract fun execute (Lio/sentry/SentryLogEvent;Lio/sentry/Hint;)Lio/sentry/SentryLogEvent;
3425+ }
3426+
34043427public abstract interface class io/sentry/SentryOptions$ProfilesSamplerCallback {
34053428 public abstract fun sample (Lio/sentry/SamplingContext;)Ljava/lang/Double;
34063429}
0 commit comments