You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
orwarning
.Example:
Setting a
strict
flag for compilers might treat warnings as errors.The text was updated successfully, but these errors were encountered: