Skip to content

Unreal Engine: Add log attributes documentation#16046

Merged
tustanivsky merged 1 commit intomasterfrom
ue/log-attributes
Jan 16, 2026
Merged

Unreal Engine: Add log attributes documentation#16046
tustanivsky merged 1 commit intomasterfrom
ue/log-attributes

Conversation

@tustanivsky
Copy link
Collaborator

This PR documents the new structured logging attributes API for Unreal SDK:

  • LogXxxWithAttributes() methods for attaching custom attributes to individual logs
  • Global attributes via SetAttribute()/RemoveAttribute() (with Android limitation note)
  • Attribute manipulation methods on USentryLog for use in BeforeLogHandler

Also fixes incorrect AddLog() references to use the actual public API (LogDebug(), LogInfo(), etc.).

Related items:

@vercel
Copy link

vercel bot commented Jan 16, 2026

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

Project Deployment Review Updated (UTC)
sentry-docs Ready Ready Preview, Comment Jan 16, 2026 10:30am
1 Skipped Deployment
Project Deployment Review Updated (UTC)
develop-docs Ignored Ignored Jan 16, 2026 10:30am

Review with Vercel Agent

SentrySubsystem->LogWarning(TEXT("Failed to load texture asset"), TEXT("AssetLoading"));

// Send an error log
SentrySubsystem->AddLog(TEXT("Database connection failed"), ESentryLevel::Error, TEXT("Database"));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heh thanks :)

Copy link
Member

@JoshuaMoelans JoshuaMoelans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@tustanivsky tustanivsky merged commit b02453b into master Jan 16, 2026
14 checks passed
@tustanivsky tustanivsky deleted the ue/log-attributes branch January 16, 2026 13:48
@github-actions github-actions bot locked and limited conversation to collaborators Feb 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants