error function

void error(
  1. String msg, [
  2. Context? ctx
])

Implementation

void error(String msg, [Context? ctx]) {
  _log.error(msg, ctx);
}