Skip to content

Commit 003a60d

Browse files
adinauerclaude
andcommitted
ref(logs): Promote structured logs APIs
Remove the remaining experimental annotations from the structured logs options and low-level capture method. The public logger API is stable, while batching and durability improvements remain internal implementation work. Refs #6408 Refs #4690 Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 8d690e6 commit 003a60d

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

‎sentry/src/main/java/io/sentry/SentryClient.java‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1305,7 +1305,6 @@ public void captureSession(final @NotNull Session session, final @Nullable Hint
13051305
return traceContext;
13061306
}
13071307

1308-
@ApiStatus.Experimental
13091308
@Override
13101309
public void captureLog(@Nullable SentryLogEvent logEvent, @Nullable IScope scope) {
13111310
// Drop silently to prevent recursion; a log here can re-enter through a logging integration.

‎sentry/src/main/java/io/sentry/SentryOptions.java‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3924,12 +3924,10 @@ public void setScopesStorageFactory(final @Nullable IScopesStorageFactory scopes
39243924
this.scopesStorageFactory = scopesStorageFactory;
39253925
}
39263926

3927-
@ApiStatus.Experimental
39283927
public @NotNull SentryOptions.Logs getLogs() {
39293928
return logs;
39303929
}
39313930

3932-
@ApiStatus.Experimental
39333931
public void setLogs(@NotNull SentryOptions.Logs logs) {
39343932
this.logs = logs;
39353933
}

0 commit comments

Comments
 (0)