Skip to content

Commit 0bcc054

Browse files
authored
docs(unreal): Document GetBeforeLogHandler removal in migration guide (#20952)
## DESCRIBE YOUR PR The Unreal SDK removes `USentrySubsystem::GetBeforeLogHandler` in v2.0.0. It was the only subsystem function that exposed a callback handler instance. This adds a breaking change entry to the "Migrating to 2.0.0" section of the migration guide. Not ready to merge until getsentry/sentry-unreal#1720 is released in Unreal SDK v2.0.0. ## Related Items - getsentry/sentry-unreal#1720 ## IS YOUR CHANGE URGENT? - [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD - [ ] Other deadline: YYYY-MM-DD - [x] No deadline: Not urgent, can wait up to 1 week+ ## PRE-MERGE CHECKLIST - [ ] Checked Vercel preview for correctness, including links - [ ] PR was reviewed and approved by any necessary SMEs (subject matter experts) - [ ] PR was reviewed and approved by a member of the [Sentry docs team](https://github.com/orgs/getsentry/teams/docs)
1 parent 9cbecbb commit 0bcc054

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎docs/platforms/unreal/migration/index.mdx‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,12 @@ The `VeryVerbose` option is disabled by default. If your project forwards `Verbo
100100

101101
Breadcrumbs for `VeryVerbose` messages still use the `Debug` level.
102102

103+
#### Before Log Handler Access
104+
105+
The `USentrySubsystem::GetBeforeLogHandler` function is removed. Other callback handlers aren't available from the subsystem, and the before log handler now follows the same rule.
106+
107+
If your code gets the handler instance from the subsystem, keep the state that you need in your own object instead. The SDK creates the handler from the `BeforeLogHandler` class in the plugin settings and calls it for each structured log, so you don't need the instance to filter or change logs.
108+
103109
## Migrating to 1.0.0
104110

105111
### Breaking changes

0 commit comments

Comments
 (0)