-
Notifications
You must be signed in to change notification settings - Fork 77
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
Verbosity level #4
Comments
Are you suggesting that certain levels limit what is in the assertion errors, or that I add something like typedef enum {
MUNIT_LOG_LEVEL_DEBUG,
MUNIT_LOG_LEVEL_INFO,
MUNIT_LOG_LEVEL_WARNING,
MUNIT_LOG_LEVEL_CRITICAL,
MUNIT_LOG_LEVEL_ERROR
} MunitLogLevel;
void munit_log(MunitLogLevel level, const char* fmt, ...); I'm open to both ideas (though a bit unsure of how the assertion thing would work), just not sure what you're suggesting. |
I meant logging levels like in your example code there. |
An interesting related idea this could enable is something similar to what |
A method for setting a verbosity level that controls the amount of information printed.
The text was updated successfully, but these errors were encountered: