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

[REQ] Allow to override LogLevel of a LogId #28

Open
mhatzl opened this issue Aug 25, 2023 · 0 comments
Open

[REQ] Allow to override LogLevel of a LogId #28

mhatzl opened this issue Aug 25, 2023 · 0 comments

Comments

@mhatzl
Copy link
Owner

mhatzl commented Aug 25, 2023

Describe your feature request

Using derive macros like ErrLogId allow to use enums, structs, and unions as LogIds.
With these macros, the LogLevel is set automatically and cannot be changed.
However, sometimes the context defines if a LogId should be treated for example as error or warning.

Example:

Setting a strict flag for compilers might treat warnings as errors.

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

No branches or pull requests

1 participant