Skip to content

Conversation

@limbonaut
Copy link
Collaborator

@limbonaut limbonaut commented Nov 3, 2025

This PR adds support for string interpolation and attributes in the structured logging API. Supports Godot string formatting syntax.

Usage:

# Simple usage
SentrySDK.logger.debug("Spawning enemies with 5 units")

# With parameters and attributes
SentrySDK.logger.debug("Spawning %s with %d units", ["enemies", 5], {
	"level": "forest_1",
	"wave_id": "wave_3"
})

TODOs:

@github-actions
Copy link
Contributor

github-actions bot commented Nov 3, 2025

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 464d8f6

@limbonaut limbonaut force-pushed the feat/logging-attributes branch from 3087ef0 to 93ff7b4 Compare November 30, 2025 13:23
@limbonaut limbonaut marked this pull request as ready for review November 30, 2025 18:49
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, just two minor comments

@limbonaut limbonaut merged commit 07ea96b into main Dec 9, 2025
55 checks passed
@limbonaut limbonaut deleted the feat/logging-attributes branch December 9, 2025 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants