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
Are there any plans of having a way to know at compile-time if a given level of logging is enabled? Something similar to log::log_enabled().
This can be useful when a warning should only be displayed if the log level is at least warning and if some run-time condition is fulfilled, but without having to compute the run-time condition if the log level is less than warning.
The text was updated successfully, but these errors were encountered:
Are there any plans of having a way to know at compile-time if a given level of logging is enabled? Something similar to
log::log_enabled()
.This can be useful when a warning should only be displayed if the log level is at least warning and if some run-time condition is fulfilled, but without having to compute the run-time condition if the log level is less than warning.
The text was updated successfully, but these errors were encountered: