Skip to content
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

Add debug log macros #1118

Merged
merged 1 commit into from
Sep 20, 2022
Merged

Add debug log macros #1118

merged 1 commit into from
Sep 20, 2022

Conversation

krichardsson
Copy link
Contributor

Sometimes it is useful to log many variables or rates when debuging a module, but it is bad to leave the logs when done since it will grow the size of the TOC. On the other hand it is nice to be able to leave them as they usually takes some time to set up and it can be hard to understand what to log. This PR adds macros that makes it easier to use logs that are enabled by defining a a macro.

See the documentation in logparam.md for documentation.

@krichardsson krichardsson merged commit 7d9f984 into master Sep 20, 2022
@krichardsson krichardsson deleted the krichardsson/debug-logs branch September 20, 2022 14:39
Copy link
Member

@tobbeanton tobbeanton left a comment

Choose a reason for hiding this comment

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

Looks good!

@krichardsson krichardsson added this to the 2022.12 milestone Dec 13, 2022
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.

3 participants