Function error

add a log entry with error severity

void error (
  in const(string) tag,
  scope lazy string msg
);

void error (
  in const(uint) mask,
  in const(string) tag,
  scope lazy string msg
);