Skip to content

Utilities: Add Logging Filter #12836

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

HTRamsey
Copy link
Collaborator

Adds a custom filter function for the logging categories which can allow easier/finer control of the enabled categories.
Also could collect the registered categories here and remove the custom QGCLoggingCategory class.

@dakejahl
Copy link
Contributor

On the topic of logging, can we move the log namespace as a prefix?

current

82.241 - debug: UDP State Changed: QAbstractSocket::ClosingState (qgc.comms.udplink:UDPWorker::setupSocket()::<lambda(QAbstractSocket::SocketState)>:302)

suggested

qgc.comms.udplink:: 82.241 - debug: UDP State Changed: QAbstractSocket::ClosingState (UDPWorker::setupSocket()::<lambda(QAbstractSocket::SocketState)>:302)

@HTRamsey
Copy link
Collaborator Author

HTRamsey commented May 13, 2025

Yup, it's just changing the order here if you want to make a PR
Would be nice if you could get it space aligned somehow too

@github-actions github-actions bot added the stale label Jun 13, 2025
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.

2 participants