Log message at the ERROR level in debug-mode (when debug-assertions are
enabled). In release-mode it becomes DEBUG level, and possibly subject to
elision.
Log message at the INFO level in debug-mode (when debug-assertions are
enabled). In release-mode it becomes DEBUG level, and possibly subject to
elision.
Log message at the WARN level in debug-mode (when debug-assertions are
enabled). In release-mode it becomes DEBUG level, and possibly subject to
elision.
A trinity of integration between tracing, logging, and Error. This is a
customization of tracing::event! with the primary purpose of sharing the
error string, fieldset parsing and formatting. An added benefit is that we
can share the same callsite metadata for the source of our Error and the
associated logging and tracing event dispatches.
Checked arithmetic expression which panics on failure. This is for
expressions which do not meet the threshold for validated! but the caller
has no realistic expectation for error and no interest in cluttering the
callsite with result handling from checked!.
Constant expression to bypass format! if the argument is a string literal
but not a format string. If the literal is a format string then String is
returned otherwise the input (i.e. &’static str) is returned. If multiple
arguments are provided the first is assumed to be a format string.