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

Rework logging #93

Open
NicolasT opened this issue Feb 23, 2015 · 1 comment
Open

Rework logging #93

NicolasT opened this issue Feb 23, 2015 · 1 comment

Comments

@NicolasT
Copy link
Contributor

Use pr_warn and friends. Also, use a full-fledged function to do the real work, if required wrapped by a macro to access __file__ and __line__, but no complicated macro blocks. Logging for high levels should be infrequent enough not to have performance impact, and when running with debug logging one doesn't care about the minor impact of a function call anyway.

@NicolasT
Copy link
Contributor Author

Debug logging should be compatible with CONFIG_DYNAMIC_DEBUG.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant