Skip to content

Commit c8125f3

Browse files
authored
Move SentryLogs out of experimental (#4710)
* removed all @experimental annotations from SentryLogs code
1 parent 479f8cc commit c8125f3

16 files changed

+3
-25
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
### Features
66

7+
- Move SentryLogs out of experimental ([#4710](https://github.com/getsentry/sentry-java/pull/4710))
78
- Add support for w3c traceparent header ([#4671](https://github.com/getsentry/sentry-java/pull/4671))
89
- This feature is disabled by default. If enabled, outgoing requests will include the w3c `traceparent` header.
910
- See https://develop.sentry.dev/sdk/telemetry/traces/distributed-tracing/#w3c-trace-context-header for more details.

sentry/src/main/java/io/sentry/ExternalOptions.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -522,12 +522,10 @@ public void setCaptureOpenTelemetryEvents(final @Nullable Boolean captureOpenTel
522522
return captureOpenTelemetryEvents;
523523
}
524524

525-
@ApiStatus.Experimental
526525
public void setEnableLogs(final @Nullable Boolean enableLogs) {
527526
this.enableLogs = enableLogs;
528527
}
529528

530-
@ApiStatus.Experimental
531529
public @Nullable Boolean isEnableLogs() {
532530
return enableLogs;
533531
}

sentry/src/main/java/io/sentry/HubAdapter.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,6 @@ public void reportFullyDisplayed() {
384384
return Sentry.getCurrentScopes().getRateLimiter();
385385
}
386386

387-
@ApiStatus.Experimental
388387
@Override
389388
public @NotNull ILoggerApi logger() {
390389
return Sentry.getCurrentScopes().logger();

sentry/src/main/java/io/sentry/HubScopesWrapper.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,6 @@ public void reportFullyDisplayed() {
370370
return scopes.captureReplay(replay, hint);
371371
}
372372

373-
@ApiStatus.Experimental
374373
@Override
375374
public @NotNull ILoggerApi logger() {
376375
return scopes.logger();

sentry/src/main/java/io/sentry/IScopes.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,6 @@ default boolean isNoOp() {
742742
@NotNull
743743
SentryId captureReplay(@NotNull SentryReplayEvent replay, @Nullable Hint hint);
744744

745-
@ApiStatus.Experimental
746745
@NotNull
747746
ILoggerApi logger();
748747
}

sentry/src/main/java/io/sentry/ISentryClient.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,6 @@ SentryId captureProfileChunk(
304304
@ApiStatus.Experimental
305305
SentryId captureCheckIn(@NotNull CheckIn checkIn, @Nullable IScope scope, @Nullable Hint hint);
306306

307-
@ApiStatus.Experimental
308307
void captureLog(@NotNull SentryLogEvent logEvent, @Nullable IScope scope);
309308

310309
@ApiStatus.Internal

sentry/src/main/java/io/sentry/NoOpHub.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,6 @@ public boolean isNoOp() {
327327
return true;
328328
}
329329

330-
@ApiStatus.Experimental
331330
@Override
332331
public @NotNull ILoggerApi logger() {
333332
return NoOpLoggerApi.getInstance();

sentry/src/main/java/io/sentry/NoOpScopes.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,6 @@ public boolean isNoOp() {
324324
return SentryId.EMPTY_ID;
325325
}
326326

327-
@ApiStatus.Experimental
328327
@Override
329328
public @NotNull ILoggerApi logger() {
330329
return NoOpLoggerApi.getInstance();

sentry/src/main/java/io/sentry/NoOpSentryClient.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ public SentryId captureEnvelope(@NotNull SentryEnvelope envelope, @Nullable Hint
8484
return SentryId.EMPTY_ID;
8585
}
8686

87-
@ApiStatus.Experimental
8887
@Override
8988
public void captureLog(@NotNull SentryLogEvent logEvent, @Nullable IScope scope) {
9089
// do nothing

sentry/src/main/java/io/sentry/ScopesAdapter.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,6 @@ public void reportFullyDisplayed() {
381381
return Sentry.getCurrentScopes().captureReplay(replay, hint);
382382
}
383383

384-
@ApiStatus.Experimental
385384
@Override
386385
public @NotNull ILoggerApi logger() {
387386
return Sentry.getCurrentScopes().logger();

0 commit comments

Comments
 (0)