[][src]Macro stlog::error

macro_rules! error {
    ($logger:expr, $string:expr) => { ... };
    ($string:expr) => { ... };
}

Logs the given string literal at the ERROR log level

$logger must be an expression whose type implements the Log trait.

If $logger is omitted the global logger will be used.