Skip to content

fix(logs): add debug output for structured logs when debug option is enabled#1466

Merged
JoshuaMoelans merged 5 commits into
masterfrom
joshua/fix/logs_print_on_debug
Jan 7, 2026
Merged

fix(logs): add debug output for structured logs when debug option is enabled#1466
JoshuaMoelans merged 5 commits into
masterfrom
joshua/fix/logs_print_on_debug

Conversation

@JoshuaMoelans
Copy link
Copy Markdown
Member

@JoshuaMoelans JoshuaMoelans commented Dec 15, 2025

Add logs printing when debug option is set to true (as per https://develop.sentry.dev/sdk/telemetry/logs/#other )

part of #1398

@JoshuaMoelans JoshuaMoelans changed the title fix(logs): add printf for logs when debug is true fix(logs): add debug output for structured logs when debug option is enabled Dec 15, 2025
@JoshuaMoelans
Copy link
Copy Markdown
Member Author

@sentry review

Comment thread src/sentry_logs.c Outdated
@JoshuaMoelans JoshuaMoelans marked this pull request as ready for review December 15, 2025 13:39
@JoshuaMoelans JoshuaMoelans merged commit b03cd48 into master Jan 7, 2026
42 checks passed
@JoshuaMoelans JoshuaMoelans deleted the joshua/fix/logs_print_on_debug branch January 7, 2026 09:08
BernhardMarconato pushed a commit to elgatosf/sentry-native that referenced this pull request Apr 21, 2026
…s enabled (getsentry#1466)

* add printf for logs when debug is true

* use existing SENTRY_(LEVEL) macros

* update CHANGELOG.md

* add future TODO + fix null-log

* make debug_print_log static
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants