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
@@ -371,6 +371,7 @@ public final class io/sentry/DataCategory : java/lang/Enum {
371
371
public final class io/sentry/DateUtils {
372
372
public static fun dateToNanos (Ljava/util/Date;)J
373
373
public static fun dateToSeconds (Ljava/util/Date;)D
374
+
public static fun doubleToBigDecimal (Ljava/lang/Double;)Ljava/math/BigDecimal;
374
375
public static fun getCurrentDateTime ()Ljava/util/Date;
375
376
public static fun getDateTime (J)Ljava/util/Date;
376
377
public static fun getDateTime (Ljava/lang/String;)Ljava/util/Date;
@@ -640,6 +641,7 @@ public final class io/sentry/HubAdapter : io/sentry/IHub {
640
641
public fun isCrashedLastRun ()Ljava/lang/Boolean;
641
642
public fun isEnabled ()Z
642
643
public fun isHealthy ()Z
644
+
public fun logger ()Lio/sentry/logger/ILoggerApi;
643
645
public fun makeCurrent ()Lio/sentry/ISentryLifecycleToken;
644
646
public fun popScope ()V
645
647
public fun pushIsolationScope ()Lio/sentry/ISentryLifecycleToken;
@@ -708,6 +710,7 @@ public final class io/sentry/HubScopesWrapper : io/sentry/IHub {
708
710
public fun isCrashedLastRun ()Ljava/lang/Boolean;
709
711
public fun isEnabled ()Z
710
712
public fun isHealthy ()Z
713
+
public fun logger ()Lio/sentry/logger/ILoggerApi;
711
714
public fun makeCurrent ()Lio/sentry/ISentryLifecycleToken;
712
715
public fun popScope ()V
713
716
public fun pushIsolationScope ()Lio/sentry/ISentryLifecycleToken;
@@ -950,6 +953,7 @@ public abstract interface class io/sentry/IScopes {
950
953
public abstract fun isEnabled ()Z
951
954
public abstract fun isHealthy ()Z
952
955
public fun isNoOp ()Z
956
+
public abstract fun logger ()Lio/sentry/logger/ILoggerApi;
953
957
public abstract fun makeCurrent ()Lio/sentry/ISentryLifecycleToken;
954
958
public abstract fun popScope ()V
955
959
public abstract fun pushIsolationScope ()Lio/sentry/ISentryLifecycleToken;
@@ -996,6 +1000,7 @@ public abstract interface class io/sentry/ISentryClient {
996
1000
public fun captureException (Ljava/lang/Throwable;Lio/sentry/IScope;)Lio/sentry/protocol/SentryId;
997
1001
public fun captureException (Ljava/lang/Throwable;Lio/sentry/IScope;Lio/sentry/Hint;)Lio/sentry/protocol/SentryId;
998
1002
public abstract fun captureFeedback (Lio/sentry/protocol/Feedback;Lio/sentry/Hint;Lio/sentry/IScope;)Lio/sentry/protocol/SentryId;
1003
+
public abstract fun captureLogs (Lio/sentry/SentryLogEvents;Lio/sentry/IScope;Lio/sentry/Hint;)V
999
1004
public fun captureMessage (Ljava/lang/String;Lio/sentry/SentryLevel;)Lio/sentry/protocol/SentryId;
1000
1005
public fun captureMessage (Ljava/lang/String;Lio/sentry/SentryLevel;Lio/sentry/IScope;)Lio/sentry/protocol/SentryId;
1001
1006
public abstract fun captureProfileChunk (Lio/sentry/ProfileChunk;Lio/sentry/IScope;)Lio/sentry/protocol/SentryId;
@@ -1514,6 +1519,7 @@ public final class io/sentry/NoOpHub : io/sentry/IHub {
1514
1519
public fun isEnabled ()Z
1515
1520
public fun isHealthy ()Z
1516
1521
public fun isNoOp ()Z
1522
+
public fun logger ()Lio/sentry/logger/ILoggerApi;
1517
1523
public fun makeCurrent ()Lio/sentry/ISentryLifecycleToken;
1518
1524
public fun popScope ()V
1519
1525
public fun pushIsolationScope ()Lio/sentry/ISentryLifecycleToken;
@@ -1677,6 +1683,7 @@ public final class io/sentry/NoOpScopes : io/sentry/IScopes {
1677
1683
public fun isEnabled ()Z
1678
1684
public fun isHealthy ()Z
1679
1685
public fun isNoOp ()Z
1686
+
public fun logger ()Lio/sentry/logger/ILoggerApi;
1680
1687
public fun makeCurrent ()Lio/sentry/ISentryLifecycleToken;
1681
1688
public fun popScope ()V
1682
1689
public fun pushIsolationScope ()Lio/sentry/ISentryLifecycleToken;
@@ -2359,6 +2366,8 @@ public final class io/sentry/Scopes : io/sentry/IScopes {
2359
2366
public fun forkedRootScopes (Ljava/lang/String;)Lio/sentry/IScopes;
2360
2367
public fun forkedScopes (Ljava/lang/String;)Lio/sentry/IScopes;
2361
2368
public fun getBaggage ()Lio/sentry/BaggageHeader;
2369
+
public fun getClient ()Lio/sentry/ISentryClient;
2370
+
public fun getCombinedScopeView ()Lio/sentry/IScope;
2362
2371
public fun getCreator ()Ljava/lang/String;
2363
2372
public fun getGlobalScope ()Lio/sentry/IScope;
2364
2373
public fun getIsolationScope ()Lio/sentry/IScope;
@@ -2374,6 +2383,7 @@ public final class io/sentry/Scopes : io/sentry/IScopes {
2374
2383
public fun isCrashedLastRun ()Ljava/lang/Boolean;
2375
2384
public fun isEnabled ()Z
2376
2385
public fun isHealthy ()Z
2386
+
public fun logger ()Lio/sentry/logger/ILoggerApi;
2377
2387
public fun makeCurrent ()Lio/sentry/ISentryLifecycleToken;
2378
2388
public fun popScope ()V
2379
2389
public fun pushIsolationScope ()Lio/sentry/ISentryLifecycleToken;
@@ -2444,6 +2454,7 @@ public final class io/sentry/ScopesAdapter : io/sentry/IScopes {
2444
2454
public fun isCrashedLastRun ()Ljava/lang/Boolean;
2445
2455
public fun isEnabled ()Z
2446
2456
public fun isHealthy ()Z
2457
+
public fun logger ()Lio/sentry/logger/ILoggerApi;
2447
2458
public fun makeCurrent ()Lio/sentry/ISentryLifecycleToken;
2448
2459
public fun popScope ()V
2449
2460
public fun pushIsolationScope ()Lio/sentry/ISentryLifecycleToken;
@@ -2554,6 +2565,7 @@ public final class io/sentry/Sentry {
2554
2565
public static fun isCrashedLastRun ()Ljava/lang/Boolean;
2555
2566
public static fun isEnabled ()Z
2556
2567
public static fun isHealthy ()Z
2568
+
public static fun logger ()Lio/sentry/logger/ILoggerApi;
2557
2569
public static fun popScope ()V
2558
2570
public static fun pushIsolationScope ()Lio/sentry/ISentryLifecycleToken;
2559
2571
public static fun pushScope ()Lio/sentry/ISentryLifecycleToken;
@@ -2721,6 +2733,7 @@ public final class io/sentry/SentryClient : io/sentry/ISentryClient {
2721
2733
public fun captureEnvelope (Lio/sentry/SentryEnvelope;Lio/sentry/Hint;)Lio/sentry/protocol/SentryId;
2722
2734
public fun captureEvent (Lio/sentry/SentryEvent;Lio/sentry/IScope;Lio/sentry/Hint;)Lio/sentry/protocol/SentryId;
2723
2735
public fun captureFeedback (Lio/sentry/protocol/Feedback;Lio/sentry/Hint;Lio/sentry/IScope;)Lio/sentry/protocol/SentryId;
2736
+
public fun captureLogs (Lio/sentry/SentryLogEvents;Lio/sentry/IScope;Lio/sentry/Hint;)V
2724
2737
public fun captureProfileChunk (Lio/sentry/ProfileChunk;Lio/sentry/IScope;)Lio/sentry/protocol/SentryId;
2725
2738
public fun captureReplayEvent (Lio/sentry/SentryReplayEvent;Lio/sentry/IScope;Lio/sentry/Hint;)Lio/sentry/protocol/SentryId;
2726
2739
public fun captureSession (Lio/sentry/Session;Lio/sentry/Hint;)V
@@ -2801,6 +2814,7 @@ public final class io/sentry/SentryEnvelopeItem {
2801
2814
public static fun fromCheckIn (Lio/sentry/ISerializer;Lio/sentry/CheckIn;)Lio/sentry/SentryEnvelopeItem;
2802
2815
public static fun fromClientReport (Lio/sentry/ISerializer;Lio/sentry/clientreport/ClientReport;)Lio/sentry/SentryEnvelopeItem;
2803
2816
public static fun fromEvent (Lio/sentry/ISerializer;Lio/sentry/SentryBaseEvent;)Lio/sentry/SentryEnvelopeItem;
2817
+
public static fun fromLogs (Lio/sentry/ISerializer;Lio/sentry/SentryLogEvents;)Lio/sentry/SentryEnvelopeItem;
2804
2818
public static fun fromProfileChunk (Lio/sentry/ProfileChunk;Lio/sentry/ISerializer;)Lio/sentry/SentryEnvelopeItem;
2805
2819
public static fun fromProfilingTrace (Lio/sentry/ProfilingTraceData;JLio/sentry/ISerializer;)Lio/sentry/SentryEnvelopeItem;
2806
2820
public static fun fromReplay (Lio/sentry/ISerializer;Lio/sentry/ILogger;Lio/sentry/SentryReplayEvent;Lio/sentry/ReplayRecording;Z)Lio/sentry/SentryEnvelopeItem;
@@ -2814,7 +2828,7 @@ public final class io/sentry/SentryEnvelopeItem {
2814
2828
}
2815
2829
2816
2830
public final class io/sentry/SentryEnvelopeItemHeader : io/sentry/JsonSerializable, io/sentry/JsonUnknown {
2817
-
public fun <init> (Lio/sentry/SentryItemType;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
2831
+
public fun <init> (Lio/sentry/SentryItemType;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;)V
2818
2832
public fun getAttachmentType ()Ljava/lang/String;
2819
2833
public fun getContentType ()Ljava/lang/String;
2820
2834
public fun getFileName ()Ljava/lang/String;
@@ -2836,6 +2850,7 @@ public final class io/sentry/SentryEnvelopeItemHeader$JsonKeys {
2836
2850
public static final field ATTACHMENT_TYPE Ljava/lang/String;
2837
2851
public static final field CONTENT_TYPE Ljava/lang/String;
2838
2852
public static final field FILENAME Ljava/lang/String;
2853
+
public static final field ITEM_COUNT Ljava/lang/String;
2839
2854
public static final field LENGTH Ljava/lang/String;
2840
2855
public static final field PLATFORM Ljava/lang/String;
2841
2856
public static final field TYPE Ljava/lang/String;
@@ -2935,6 +2950,7 @@ public final class io/sentry/SentryItemType : java/lang/Enum, io/sentry/JsonSeri
2935
2950
public static final field ClientReport Lio/sentry/SentryItemType;
2936
2951
public static final field Event Lio/sentry/SentryItemType;
2937
2952
public static final field Feedback Lio/sentry/SentryItemType;
2953
+
public static final field Log Lio/sentry/SentryItemType;
2938
2954
public static final field Profile Lio/sentry/SentryItemType;
2939
2955
public static final field ProfileChunk Lio/sentry/SentryItemType;
2940
2956
public static final field ReplayEvent Lio/sentry/SentryItemType;
@@ -3015,6 +3031,72 @@ public final class io/sentry/SentryLockReason$JsonKeys {
3015
3031
public fun <init> ()V
3016
3032
}
3017
3033
3034
+
public final class io/sentry/SentryLogEvent : io/sentry/JsonSerializable, io/sentry/JsonUnknown {
3035
+
public fun <init> (Lio/sentry/protocol/SentryId;Lio/sentry/SentryDate;Ljava/lang/String;)V
3036
+
public fun <init> (Lio/sentry/protocol/SentryId;Ljava/lang/Double;Ljava/lang/String;)V
3037
+
public fun getAttributes ()Ljava/util/Map;
3038
+
public fun getLevel ()Lio/sentry/SentryLevel;
3039
+
public fun getTimestamp ()Ljava/lang/Double;
3040
+
public fun getUnknown ()Ljava/util/Map;
3041
+
public fun serialize (Lio/sentry/ObjectWriter;Lio/sentry/ILogger;)V
3042
+
public fun setAttributes (Ljava/util/Map;)V
3043
+
public fun setLevel (Lio/sentry/SentryLevel;)V
3044
+
public fun setTimestamp (Ljava/lang/Double;)V
3045
+
public fun setUnknown (Ljava/util/Map;)V
3046
+
}
3047
+
3048
+
public final class io/sentry/SentryLogEvent$Deserializer : io/sentry/JsonDeserializer {
3049
+
public fun <init> ()V
3050
+
public fun deserialize (Lio/sentry/ObjectReader;Lio/sentry/ILogger;)Lio/sentry/SentryLogEvent;
3051
+
public synthetic fun deserialize (Lio/sentry/ObjectReader;Lio/sentry/ILogger;)Ljava/lang/Object;
3052
+
}
3053
+
3054
+
public final class io/sentry/SentryLogEvent$JsonKeys {
3055
+
public static final field ATTRIBUTES Ljava/lang/String;
3056
+
public static final field BODY Ljava/lang/String;
3057
+
public static final field LEVEL Ljava/lang/String;
3058
+
public static final field TIMESTAMP Ljava/lang/String;
3059
+
public static final field TRACE_ID Ljava/lang/String;
3060
+
public fun <init> ()V
3061
+
}
3062
+
3063
+
public final class io/sentry/SentryLogEventAttributeValue : io/sentry/JsonSerializable, io/sentry/JsonUnknown {
3064
+
public fun <init> (Ljava/lang/String;Ljava/lang/Object;)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/SentryLogEventAttributeValue$Deserializer : io/sentry/JsonDeserializer {
3071
+
public fun <init> ()V
3072
+
public fun deserialize (Lio/sentry/ObjectReader;Lio/sentry/ILogger;)Lio/sentry/SentryLogEventAttributeValue;
3073
+
public synthetic fun deserialize (Lio/sentry/ObjectReader;Lio/sentry/ILogger;)Ljava/lang/Object;
3074
+
}
3075
+
3076
+
public final class io/sentry/SentryLogEventAttributeValue$JsonKeys {
3077
+
public static final field TYPE Ljava/lang/String;
3078
+
public static final field VALUE Ljava/lang/String;
3079
+
public fun <init> ()V
3080
+
}
3081
+
3082
+
public final class io/sentry/SentryLogEvents : io/sentry/JsonSerializable, io/sentry/JsonUnknown {
3083
+
public fun <init> (Ljava/util/List;)V
3084
+
public fun getUnknown ()Ljava/util/Map;
3085
+
public fun serialize (Lio/sentry/ObjectWriter;Lio/sentry/ILogger;)V
3086
+
public fun setUnknown (Ljava/util/Map;)V
3087
+
}
3088
+
3089
+
public final class io/sentry/SentryLogEvents$Deserializer : io/sentry/JsonDeserializer {
3090
+
public fun <init> ()V
3091
+
public fun deserialize (Lio/sentry/ObjectReader;Lio/sentry/ILogger;)Lio/sentry/SentryLogEvents;
3092
+
public synthetic fun deserialize (Lio/sentry/ObjectReader;Lio/sentry/ILogger;)Ljava/lang/Object;
3093
+
}
3094
+
3095
+
public final class io/sentry/SentryLogEvents$JsonKeys {
3096
+
public static final field ITEMS Ljava/lang/String;
3097
+
public fun <init> ()V
3098
+
}
3099
+
3018
3100
public final class io/sentry/SentryLongDate : io/sentry/SentryDate {
3019
3101
public fun <init> (J)V
3020
3102
public fun nanoTimestamp ()J
@@ -4571,6 +4653,41 @@ public abstract interface class io/sentry/internal/viewhierarchy/ViewHierarchyEx
4571
4653
public abstract fun export (Lio/sentry/protocol/ViewHierarchyNode;Ljava/lang/Object;)Z
4572
4654
}
4573
4655
4656
+
public abstract interface class io/sentry/logger/ILoggerApi {
4657
+
public abstract fun debug (Ljava/lang/String;[Ljava/lang/Object;)V
4658
+
public abstract fun error (Ljava/lang/String;[Ljava/lang/Object;)V
4659
+
public abstract fun fatal (Ljava/lang/String;[Ljava/lang/Object;)V
4660
+
public abstract fun info (Ljava/lang/String;[Ljava/lang/Object;)V
4661
+
public abstract fun log (Lio/sentry/SentryLevel;Lio/sentry/SentryDate;Ljava/lang/String;Lio/sentry/Hint;[Ljava/lang/Object;)V
4662
+
public abstract fun log (Lio/sentry/SentryLevel;Ljava/lang/String;[Ljava/lang/Object;)V
4663
+
public abstract fun trace (Ljava/lang/String;[Ljava/lang/Object;)V
4664
+
public abstract fun warn (Ljava/lang/String;[Ljava/lang/Object;)V
4665
+
}
4666
+
4667
+
public final class io/sentry/logger/LoggerApi : io/sentry/logger/ILoggerApi {
4668
+
public fun <init> (Lio/sentry/Scopes;)V
4669
+
public fun debug (Ljava/lang/String;[Ljava/lang/Object;)V
4670
+
public fun error (Ljava/lang/String;[Ljava/lang/Object;)V
4671
+
public fun fatal (Ljava/lang/String;[Ljava/lang/Object;)V
4672
+
public fun info (Ljava/lang/String;[Ljava/lang/Object;)V
4673
+
public fun log (Lio/sentry/SentryLevel;Lio/sentry/SentryDate;Ljava/lang/String;Lio/sentry/Hint;[Ljava/lang/Object;)V
4674
+
public fun log (Lio/sentry/SentryLevel;Ljava/lang/String;[Ljava/lang/Object;)V
4675
+
public fun trace (Ljava/lang/String;[Ljava/lang/Object;)V
4676
+
public fun warn (Ljava/lang/String;[Ljava/lang/Object;)V
4677
+
}
4678
+
4679
+
public final class io/sentry/logger/NoOpLoggerApi : io/sentry/logger/ILoggerApi {
4680
+
public fun debug (Ljava/lang/String;[Ljava/lang/Object;)V
4681
+
public fun error (Ljava/lang/String;[Ljava/lang/Object;)V
4682
+
public fun fatal (Ljava/lang/String;[Ljava/lang/Object;)V
4683
+
public static fun getInstance ()Lio/sentry/logger/NoOpLoggerApi;
4684
+
public fun info (Ljava/lang/String;[Ljava/lang/Object;)V
4685
+
public fun log (Lio/sentry/SentryLevel;Lio/sentry/SentryDate;Ljava/lang/String;Lio/sentry/Hint;[Ljava/lang/Object;)V
4686
+
public fun log (Lio/sentry/SentryLevel;Ljava/lang/String;[Ljava/lang/Object;)V
4687
+
public fun trace (Ljava/lang/String;[Ljava/lang/Object;)V
4688
+
public fun warn (Ljava/lang/String;[Ljava/lang/Object;)V
4689
+
}
4690
+
4574
4691
public final class io/sentry/opentelemetry/OpenTelemetryUtil {
4575
4692
public fun <init> ()V
4576
4693
public static fun applyIgnoredSpanOrigins (Lio/sentry/SentryOptions;)V
0 commit comments