Skip to content

Default rive.view log category to QtInfoMsg - #6

Merged
jslauthor merged 1 commit into
mainfrom
fix/rive-view-debug-category-default
Jul 22, 2026
Merged

Default rive.view log category to QtInfoMsg#6
jslauthor merged 1 commit into
mainfrom
fix/rive-view-debug-category-default

Conversation

@jslauthor

Copy link
Copy Markdown
Contributor

The 2-arg Q_LOGGING_CATEGORY macro defaults the category floor to QtDebugMsg, so qCDebug() diagnostics — notably the per-frame frame-pacing spike detector in RiveView — printed by default and leaked into host-app consoles even at INFO level (Qt categorized logging is independent of the app's own log level). Use the 3-arg form with QtInfoMsg so debug output is opt-in via QT_LOGGING_RULES="rive.view.debug=true", matching the call sites' own comments. qCInfo/qCWarning/qCCritical are unaffected.
Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

The 2-arg Q_LOGGING_CATEGORY macro defaults the category floor to
QtDebugMsg, so qCDebug() diagnostics — notably the per-frame
frame-pacing spike detector in RiveView — printed by default and
leaked into host-app consoles even at INFO level (Qt categorized
logging is independent of the app's own log level).
Use the 3-arg form with QtInfoMsg so debug output is opt-in via
QT_LOGGING_RULES="rive.view.debug=true", matching the call sites'
own comments. qCInfo/qCWarning/qCCritical are unaffected.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@cursor

cursor Bot commented Jul 22, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@jslauthor
jslauthor merged commit e4dabec into main Jul 22, 2026
4 checks passed
@jslauthor
jslauthor deleted the fix/rive-view-debug-category-default branch July 22, 2026 16:49
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.

1 participant