Macro loggy::error

source ·
macro_rules! error {
    ( $( $arg:tt )* ) => { ... };
}
Expand description

Log an error message, which will trigger a panic at the end of the current scope.

This is identical to invoking log!(log::Level::Error, ...).

Panics

If invoked outside any scope, this will immediately panic with a generic message.