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 macros similar to @test_warn but for info and error level logs? #192

Open
TylerLoewen opened this issue Oct 21, 2022 · 0 comments
Open

Comments

@TylerLoewen
Copy link

There exists the macro @test_warn which removes the need to pass "warn" when checking for warning level log messages. It would be nice if there existed a similar macro for checking info and error level logs. I could see @test_error being confusing as it sounds like it's checking for an error. If these new macros are worth adding maybe they could be named @test_warnlog, @test_infolog and @test_errorlog.

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