Skip to content

docs(unreal): Document trace level and ESentryLogLevel for structured logs - #20915

Merged
tustanivsky merged 4 commits into
masterfrom
unreal/sentry-log-level
Nov 24, 2026
Merged

tustanivsky merged 4 commits into
masterfrom
unreal/sentry-log-level

Conversation

@tustanivsky

@tustanivsky tustanivsky commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

DESCRIBE YOUR PR

The Unreal SDK adds a separate ESentryLogLevel enum for structured logs. It includes the Trace level, which ESentryLevel can't express because events, breadcrumbs, and scopes have no such level. This is a breaking change in v2.0.0.

Updates the logs and migration pages:

  • Adds a "Migrating to 2.0.0" section to the migration guide. It explains the switch from ESentryLevel to ESentryLogLevel for USentryLog, and that VeryVerbose UE_LOG messages are now sent as trace logs controlled by the new bOnTraceLog option. It also states that the new option is disabled by default, so projects that forward Verbose messages have to enable it to forward VeryVerbose messages.
  • Adds LogTrace() and LogTraceWithAttributes() to the usage page and a UE_LOG example for VeryVerbose messages.
  • Adds a table that maps UE_LOG verbosity to settings and log severity on the setup page, and updates the before-log handler example and the USentryLog method list to use ESentryLogLevel.
  • Updates the level rows in the options table to match the setting names in the plugin settings, and adds the new VeryVerbose option.
  • Changes the best practices examples to use the public LogInfo(), LogWarning(), and LogDebug() methods. They used AddLog() with ESentryLevel, which isn't part of the public API.

Not ready to merge until getsentry/sentry-unreal#1715 is released in Unreal SDK v2.0.0.

Related Items

IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs to go live.
Select exactly one option. For deadlines, replace YYYY-MM-DD with the due date. You can update this information later by editing the PR description.

  • Urgent deadline (GA date, etc.): YYYY-MM-DD
  • Other deadline: YYYY-MM-DD
  • No deadline: Not urgent, can wait up to 1 week+

SLA

  • Teamwork makes the dream work, so please add a reviewer to your PRs.
  • Please give the docs team up to 1 week to review your PR unless you've supplied a deadline.

Thanks in advance for your help!

PRE-MERGE CHECKLIST

Make sure you've checked the following before merging your changes:

  • 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

@vercel

vercel Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
develop-docs Ready Ready Preview Nov 24, 2026 7:31am UTC
sentry-docs Ready Ready Preview Nov 24, 2026 7:31am UTC

Request Review

@cursor

cursor Bot commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Getting ready to monitor this change · Rollout details

Status Service Environment
⏳ Getting ready to monitor this change

…0932)

## DESCRIBE YOUR PR

The Unreal SDK replaces the `UseNativeBackend` option with a new
`CrashBackend` option and makes the native backend the default on
Windows, Linux, and Xbox. This is a breaking change in v2.0.0.

Adds a "Crash Backend Selection" section to the "Migrating to 2.0.0"
part of the migration guide. It describes the `Auto`, `Native`, and
`Legacy` values and which backend each one selects per platform, shows
how to replace `UseNativeBackend=True` with `CrashBackend=Native` in the
project configuration, and explains how to keep the previous backends
with `CrashBackend=Legacy`.

Stacked on #20915, which adds the "Migrating to 2.0.0" section.

Not ready to merge until getsentry/sentry-unreal#1717 is released in
Unreal SDK v2.0.0.

## Related Items
- getsentry/sentry-unreal#1717
- #20915

## IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs
to go live.
Select exactly one option. For deadlines, replace `YYYY-MM-DD` with the
due date. You can update this information later by editing the PR
description.

- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+

## SLA

- Teamwork makes the dream work, so please add a reviewer to your PRs.
- Please give the docs team up to 1 week to review your PR unless you've
supplied a deadline.

Thanks in advance for your help!

## PRE-MERGE CHECKLIST

_Make sure you've checked the following before merging your changes:_

- [ ] 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)
@codeowner-assignment
codeowner-assignment Bot requested a review from a team November 24, 2026 07:23
@tustanivsky
tustanivsky merged commit 9cbecbb into master Nov 24, 2026
31 checks passed
@tustanivsky
tustanivsky deleted the unreal/sentry-log-level branch November 24, 2026 07:39

This branch was successfully deployed

2 active deployments
Preview – sentry-docs — 66966234 Deployed Nov 24, 2026 by vercel[bot]
Preview – develop-docs — 66966234 Deployed Nov 24, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority: Normal Docs review has no urgent deadline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants