Skip to content

Conversation

elbeno
Copy link
Contributor

@elbeno elbeno commented Oct 1, 2025

Problem:

  • Most of the CIB logging macros allow easy use of a custom log level type, but CIB_FATAL does not, because the log level is injected by the logging::detail::panic function.

Solution:

  • Lift the injection to the CIB_FATAL macro and lift panic into the logging namespace so that it is comparatively easy to issue a FATAL log with a custom level type.

Problem:
- Most of the CIB logging macros allow easy use of a custom log level type, but
  `CIB_FATAL` does not, because the log level is injected by the
  `logging::detail::panic` function.

Solution:
- Lift the injection to the `CIB_FATAL` macro and lift `panic` into the
  `logging` namespace so that it is comparatively easy to issue a FATAL log with
  a custom level type.
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

Successfully merging this pull request may close these issues.

1 participant