You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sentry/api/sentry.api
+118-1Lines changed: 118 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -370,6 +370,7 @@ public final class io/sentry/DataCategory : java/lang/Enum {
370
370
public final class io/sentry/DateUtils {
371
371
public static fun dateToNanos (Ljava/util/Date;)J
372
372
public static fun dateToSeconds (Ljava/util/Date;)D
373
+
public static fun doubleToBigDecimal (Ljava/lang/Double;)Ljava/math/BigDecimal;
373
374
public static fun getCurrentDateTime ()Ljava/util/Date;
374
375
public static fun getDateTime (J)Ljava/util/Date;
375
376
public static fun getDateTime (Ljava/lang/String;)Ljava/util/Date;
@@ -636,6 +637,7 @@ public final class io/sentry/HubAdapter : io/sentry/IHub {
636
637
public fun isCrashedLastRun ()Ljava/lang/Boolean;
637
638
public fun isEnabled ()Z
638
639
public fun isHealthy ()Z
640
+
public fun logger ()Lio/sentry/logger/ILoggerApi;
639
641
public fun makeCurrent ()Lio/sentry/ISentryLifecycleToken;
640
642
public fun popScope ()V
641
643
public fun pushIsolationScope ()Lio/sentry/ISentryLifecycleToken;
@@ -703,6 +705,7 @@ public final class io/sentry/HubScopesWrapper : io/sentry/IHub {
703
705
public fun isCrashedLastRun ()Ljava/lang/Boolean;
704
706
public fun isEnabled ()Z
705
707
public fun isHealthy ()Z
708
+
public fun logger ()Lio/sentry/logger/ILoggerApi;
706
709
public fun makeCurrent ()Lio/sentry/ISentryLifecycleToken;
707
710
public fun popScope ()V
708
711
public fun pushIsolationScope ()Lio/sentry/ISentryLifecycleToken;
@@ -942,6 +945,7 @@ public abstract interface class io/sentry/IScopes {
942
945
public abstract fun isEnabled ()Z
943
946
public abstract fun isHealthy ()Z
944
947
public fun isNoOp ()Z
948
+
public abstract fun logger ()Lio/sentry/logger/ILoggerApi;
945
949
public abstract fun makeCurrent ()Lio/sentry/ISentryLifecycleToken;
946
950
public abstract fun popScope ()V
947
951
public abstract fun pushIsolationScope ()Lio/sentry/ISentryLifecycleToken;
@@ -987,6 +991,7 @@ public abstract interface class io/sentry/ISentryClient {
987
991
public fun captureException (Ljava/lang/Throwable;Lio/sentry/Hint;)Lio/sentry/protocol/SentryId;
988
992
public fun captureException (Ljava/lang/Throwable;Lio/sentry/IScope;)Lio/sentry/protocol/SentryId;
989
993
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
990
995
public fun captureMessage (Ljava/lang/String;Lio/sentry/SentryLevel;)Lio/sentry/protocol/SentryId;
991
996
public fun captureMessage (Ljava/lang/String;Lio/sentry/SentryLevel;Lio/sentry/IScope;)Lio/sentry/protocol/SentryId;
992
997
public abstract fun captureProfileChunk (Lio/sentry/ProfileChunk;Lio/sentry/IScope;)Lio/sentry/protocol/SentryId;
@@ -1504,6 +1509,7 @@ public final class io/sentry/NoOpHub : io/sentry/IHub {
1504
1509
public fun isEnabled ()Z
1505
1510
public fun isHealthy ()Z
1506
1511
public fun isNoOp ()Z
1512
+
public fun logger ()Lio/sentry/logger/ILoggerApi;
1507
1513
public fun makeCurrent ()Lio/sentry/ISentryLifecycleToken;
1508
1514
public fun popScope ()V
1509
1515
public fun pushIsolationScope ()Lio/sentry/ISentryLifecycleToken;
@@ -1666,6 +1672,7 @@ public final class io/sentry/NoOpScopes : io/sentry/IScopes {
1666
1672
public fun isEnabled ()Z
1667
1673
public fun isHealthy ()Z
1668
1674
public fun isNoOp ()Z
1675
+
public fun logger ()Lio/sentry/logger/ILoggerApi;
1669
1676
public fun makeCurrent ()Lio/sentry/ISentryLifecycleToken;
1670
1677
public fun popScope ()V
1671
1678
public fun pushIsolationScope ()Lio/sentry/ISentryLifecycleToken;
@@ -2347,6 +2354,8 @@ public final class io/sentry/Scopes : io/sentry/IScopes {
2347
2354
public fun forkedRootScopes (Ljava/lang/String;)Lio/sentry/IScopes;
2348
2355
public fun forkedScopes (Ljava/lang/String;)Lio/sentry/IScopes;
2349
2356
public fun getBaggage ()Lio/sentry/BaggageHeader;
2357
+
public fun getClient ()Lio/sentry/ISentryClient;
2358
+
public fun getCombinedScopeView ()Lio/sentry/IScope;
2350
2359
public fun getCreator ()Ljava/lang/String;
2351
2360
public fun getGlobalScope ()Lio/sentry/IScope;
2352
2361
public fun getIsolationScope ()Lio/sentry/IScope;
@@ -2362,6 +2371,7 @@ public final class io/sentry/Scopes : io/sentry/IScopes {
2362
2371
public fun isCrashedLastRun ()Ljava/lang/Boolean;
2363
2372
public fun isEnabled ()Z
2364
2373
public fun isHealthy ()Z
2374
+
public fun logger ()Lio/sentry/logger/ILoggerApi;
2365
2375
public fun makeCurrent ()Lio/sentry/ISentryLifecycleToken;
2366
2376
public fun popScope ()V
2367
2377
public fun pushIsolationScope ()Lio/sentry/ISentryLifecycleToken;
@@ -2429,6 +2439,7 @@ public final class io/sentry/ScopesAdapter : io/sentry/IScopes {
2429
2439
public fun isCrashedLastRun ()Ljava/lang/Boolean;
2430
2440
public fun isEnabled ()Z
2431
2441
public fun isHealthy ()Z
2442
+
public fun logger ()Lio/sentry/logger/ILoggerApi;
2432
2443
public fun makeCurrent ()Lio/sentry/ISentryLifecycleToken;
2433
2444
public fun popScope ()V
2434
2445
public fun pushIsolationScope ()Lio/sentry/ISentryLifecycleToken;
@@ -2536,6 +2547,7 @@ public final class io/sentry/Sentry {
2536
2547
public static fun isCrashedLastRun ()Ljava/lang/Boolean;
2537
2548
public static fun isEnabled ()Z
2538
2549
public static fun isHealthy ()Z
2550
+
public static fun logger ()Lio/sentry/logger/ILoggerApi;
2539
2551
public static fun popScope ()V
2540
2552
public static fun pushIsolationScope ()Lio/sentry/ISentryLifecycleToken;
2541
2553
public static fun pushScope ()Lio/sentry/ISentryLifecycleToken;
@@ -2702,6 +2714,7 @@ public final class io/sentry/SentryClient : io/sentry/ISentryClient {
2702
2714
public fun captureCheckIn (Lio/sentry/CheckIn;Lio/sentry/IScope;Lio/sentry/Hint;)Lio/sentry/protocol/SentryId;
2703
2715
public fun captureEnvelope (Lio/sentry/SentryEnvelope;Lio/sentry/Hint;)Lio/sentry/protocol/SentryId;
2704
2716
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
2705
2718
public fun captureProfileChunk (Lio/sentry/ProfileChunk;Lio/sentry/IScope;)Lio/sentry/protocol/SentryId;
2706
2719
public fun captureReplayEvent (Lio/sentry/SentryReplayEvent;Lio/sentry/IScope;Lio/sentry/Hint;)Lio/sentry/protocol/SentryId;
2707
2720
public fun captureSession (Lio/sentry/Session;Lio/sentry/Hint;)V
@@ -2782,6 +2795,7 @@ public final class io/sentry/SentryEnvelopeItem {
2782
2795
public static fun fromCheckIn (Lio/sentry/ISerializer;Lio/sentry/CheckIn;)Lio/sentry/SentryEnvelopeItem;
2783
2796
public static fun fromClientReport (Lio/sentry/ISerializer;Lio/sentry/clientreport/ClientReport;)Lio/sentry/SentryEnvelopeItem;
2784
2797
public static fun fromEvent (Lio/sentry/ISerializer;Lio/sentry/SentryBaseEvent;)Lio/sentry/SentryEnvelopeItem;
2798
+
public static fun fromLogs (Lio/sentry/ISerializer;Lio/sentry/SentryLogEvents;)Lio/sentry/SentryEnvelopeItem;
2785
2799
public static fun fromProfileChunk (Lio/sentry/ProfileChunk;Lio/sentry/ISerializer;)Lio/sentry/SentryEnvelopeItem;
2786
2800
public static fun fromProfilingTrace (Lio/sentry/ProfilingTraceData;JLio/sentry/ISerializer;)Lio/sentry/SentryEnvelopeItem;
2787
2801
public static fun fromReplay (Lio/sentry/ISerializer;Lio/sentry/ILogger;Lio/sentry/SentryReplayEvent;Lio/sentry/ReplayRecording;Z)Lio/sentry/SentryEnvelopeItem;
@@ -2795,7 +2809,7 @@ public final class io/sentry/SentryEnvelopeItem {
2795
2809
}
2796
2810
2797
2811
public final class io/sentry/SentryEnvelopeItemHeader : io/sentry/JsonSerializable, io/sentry/JsonUnknown {
2798
-
public fun <init> (Lio/sentry/SentryItemType;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
2812
+
public fun <init> (Lio/sentry/SentryItemType;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;)V
2799
2813
public fun getAttachmentType ()Ljava/lang/String;
2800
2814
public fun getContentType ()Ljava/lang/String;
2801
2815
public fun getFileName ()Ljava/lang/String;
@@ -2817,6 +2831,7 @@ public final class io/sentry/SentryEnvelopeItemHeader$JsonKeys {
2817
2831
public static final field ATTACHMENT_TYPE Ljava/lang/String;
2818
2832
public static final field CONTENT_TYPE Ljava/lang/String;
2819
2833
public static final field FILENAME Ljava/lang/String;
2834
+
public static final field ITEM_COUNT Ljava/lang/String;
2820
2835
public static final field LENGTH Ljava/lang/String;
2821
2836
public static final field PLATFORM Ljava/lang/String;
2822
2837
public static final field TYPE Ljava/lang/String;
@@ -2916,6 +2931,7 @@ public final class io/sentry/SentryItemType : java/lang/Enum, io/sentry/JsonSeri
2916
2931
public static final field ClientReport Lio/sentry/SentryItemType;
2917
2932
public static final field Event Lio/sentry/SentryItemType;
2918
2933
public static final field Feedback Lio/sentry/SentryItemType;
2934
+
public static final field Log Lio/sentry/SentryItemType;
2919
2935
public static final field Profile Lio/sentry/SentryItemType;
2920
2936
public static final field ProfileChunk Lio/sentry/SentryItemType;
2921
2937
public static final field ReplayEvent Lio/sentry/SentryItemType;
@@ -2996,6 +3012,72 @@ public final class io/sentry/SentryLockReason$JsonKeys {
2996
3012
public fun <init> ()V
2997
3013
}
2998
3014
3015
+
public 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
3018
+
public fun getAttributes ()Ljava/util/Map;
3019
+
public fun getLevel ()Lio/sentry/SentryLevel;
3020
+
public fun getTimestamp ()Ljava/lang/Double;
3021
+
public fun getUnknown ()Ljava/util/Map;
3022
+
public fun serialize (Lio/sentry/ObjectWriter;Lio/sentry/ILogger;)V
3023
+
public fun setAttributes (Ljava/util/Map;)V
3024
+
public fun setLevel (Lio/sentry/SentryLevel;)V
3025
+
public fun setTimestamp (Ljava/lang/Double;)V
3026
+
public fun setUnknown (Ljava/util/Map;)V
3027
+
}
3028
+
3029
+
public final class io/sentry/SentryLogEvent$Deserializer : io/sentry/JsonDeserializer {
3030
+
public fun <init> ()V
3031
+
public fun deserialize (Lio/sentry/ObjectReader;Lio/sentry/ILogger;)Lio/sentry/SentryLogEvent;
3032
+
public synthetic fun deserialize (Lio/sentry/ObjectReader;Lio/sentry/ILogger;)Ljava/lang/Object;
3033
+
}
3034
+
3035
+
public final class io/sentry/SentryLogEvent$JsonKeys {
3036
+
public static final field ATTRIBUTES Ljava/lang/String;
3037
+
public static final field BODY Ljava/lang/String;
3038
+
public static final field LEVEL Ljava/lang/String;
3039
+
public static final field TIMESTAMP Ljava/lang/String;
3040
+
public static final field TRACE_ID Ljava/lang/String;
3041
+
public fun <init> ()V
3042
+
}
3043
+
3044
+
public final class io/sentry/SentryLogEventAttributeValue : io/sentry/JsonSerializable, io/sentry/JsonUnknown {
3045
+
public fun <init> (Ljava/lang/String;Ljava/lang/Object;)V
3046
+
public fun getUnknown ()Ljava/util/Map;
3047
+
public fun serialize (Lio/sentry/ObjectWriter;Lio/sentry/ILogger;)V
3048
+
public fun setUnknown (Ljava/util/Map;)V
3049
+
}
3050
+
3051
+
public final class io/sentry/SentryLogEventAttributeValue$Deserializer : io/sentry/JsonDeserializer {
3052
+
public fun <init> ()V
3053
+
public fun deserialize (Lio/sentry/ObjectReader;Lio/sentry/ILogger;)Lio/sentry/SentryLogEventAttributeValue;
3054
+
public synthetic fun deserialize (Lio/sentry/ObjectReader;Lio/sentry/ILogger;)Ljava/lang/Object;
3055
+
}
3056
+
3057
+
public final class io/sentry/SentryLogEventAttributeValue$JsonKeys {
3058
+
public static final field TYPE Ljava/lang/String;
3059
+
public static final field VALUE Ljava/lang/String;
3060
+
public fun <init> ()V
3061
+
}
3062
+
3063
+
public final class io/sentry/SentryLogEvents : io/sentry/JsonSerializable, io/sentry/JsonUnknown {
3064
+
public fun <init> (Ljava/util/List;)V
3065
+
public fun getUnknown ()Ljava/util/Map;
3066
+
public fun serialize (Lio/sentry/ObjectWriter;Lio/sentry/ILogger;)V
3067
+
public fun setUnknown (Ljava/util/Map;)V
3068
+
}
3069
+
3070
+
public final class io/sentry/SentryLogEvents$Deserializer : io/sentry/JsonDeserializer {
3071
+
public fun <init> ()V
3072
+
public fun deserialize (Lio/sentry/ObjectReader;Lio/sentry/ILogger;)Lio/sentry/SentryLogEvents;
3073
+
public synthetic fun deserialize (Lio/sentry/ObjectReader;Lio/sentry/ILogger;)Ljava/lang/Object;
3074
+
}
3075
+
3076
+
public final class io/sentry/SentryLogEvents$JsonKeys {
3077
+
public static final field ITEMS Ljava/lang/String;
3078
+
public fun <init> ()V
3079
+
}
3080
+
2999
3081
public final class io/sentry/SentryLongDate : io/sentry/SentryDate {
3000
3082
public fun <init> (J)V
3001
3083
public fun nanoTimestamp ()J
@@ -4550,6 +4632,41 @@ public abstract interface class io/sentry/internal/viewhierarchy/ViewHierarchyEx
4550
4632
public abstract fun export (Lio/sentry/protocol/ViewHierarchyNode;Ljava/lang/Object;)Z
4551
4633
}
4552
4634
4635
+
public abstract interface class io/sentry/logger/ILoggerApi {
4636
+
public abstract fun debug (Ljava/lang/String;[Ljava/lang/Object;)V
4637
+
public abstract fun error (Ljava/lang/String;[Ljava/lang/Object;)V
4638
+
public abstract fun fatal (Ljava/lang/String;[Ljava/lang/Object;)V
4639
+
public abstract fun info (Ljava/lang/String;[Ljava/lang/Object;)V
4640
+
public abstract fun log (Lio/sentry/SentryLevel;Lio/sentry/SentryDate;Ljava/lang/String;Lio/sentry/Hint;[Ljava/lang/Object;)V
4641
+
public abstract fun log (Lio/sentry/SentryLevel;Ljava/lang/String;[Ljava/lang/Object;)V
4642
+
public abstract fun trace (Ljava/lang/String;[Ljava/lang/Object;)V
4643
+
public abstract fun warn (Ljava/lang/String;[Ljava/lang/Object;)V
4644
+
}
4645
+
4646
+
public final class io/sentry/logger/LoggerApi : io/sentry/logger/ILoggerApi {
4647
+
public fun <init> (Lio/sentry/Scopes;)V
4648
+
public fun debug (Ljava/lang/String;[Ljava/lang/Object;)V
4649
+
public fun error (Ljava/lang/String;[Ljava/lang/Object;)V
4650
+
public fun fatal (Ljava/lang/String;[Ljava/lang/Object;)V
4651
+
public fun info (Ljava/lang/String;[Ljava/lang/Object;)V
4652
+
public fun log (Lio/sentry/SentryLevel;Lio/sentry/SentryDate;Ljava/lang/String;Lio/sentry/Hint;[Ljava/lang/Object;)V
4653
+
public fun log (Lio/sentry/SentryLevel;Ljava/lang/String;[Ljava/lang/Object;)V
4654
+
public fun trace (Ljava/lang/String;[Ljava/lang/Object;)V
4655
+
public fun warn (Ljava/lang/String;[Ljava/lang/Object;)V
4656
+
}
4657
+
4658
+
public final class io/sentry/logger/NoOpLoggerApi : io/sentry/logger/ILoggerApi {
4659
+
public fun debug (Ljava/lang/String;[Ljava/lang/Object;)V
4660
+
public fun error (Ljava/lang/String;[Ljava/lang/Object;)V
4661
+
public fun fatal (Ljava/lang/String;[Ljava/lang/Object;)V
4662
+
public static fun getInstance ()Lio/sentry/logger/NoOpLoggerApi;
4663
+
public fun info (Ljava/lang/String;[Ljava/lang/Object;)V
4664
+
public fun log (Lio/sentry/SentryLevel;Lio/sentry/SentryDate;Ljava/lang/String;Lio/sentry/Hint;[Ljava/lang/Object;)V
4665
+
public fun log (Lio/sentry/SentryLevel;Ljava/lang/String;[Ljava/lang/Object;)V
4666
+
public fun trace (Ljava/lang/String;[Ljava/lang/Object;)V
4667
+
public fun warn (Ljava/lang/String;[Ljava/lang/Object;)V
4668
+
}
4669
+
4553
4670
public final class io/sentry/opentelemetry/OpenTelemetryUtil {
4554
4671
public fun <init> ()V
4555
4672
public static fun applyIgnoredSpanOrigins (Lio/sentry/SentryOptions;)V
0 commit comments