err method

void err(
  1. Object? message
)

Logs message at LogLevel.error, to the error output, in the theme's CliTheme.error.

Implementation

void err(Object? message) =>
    _log(message, LogLevel.error, theme.error, toErr: true);