Function Logger.error

See dtext.log.Logger : Logger.error

void error(Args...) (
  in char[] fmt,
  Args args,
  string func = __FUNCTION__
);