// Central output module for {{ name }} (§19.4).
//
// All user-facing messages route through the semantic helpers below so that
// formatting and routing can change in one place. Raw `console.log`/`process.stderr.write`
// must not appear outside this module.

export function status(msg) {
  process.stderr.write(`\u2713  ${msg}\n`);
}

export function warn(msg) {
  process.stderr.write(`!  ${msg}\n`);
}

export function info(msg) {
  process.stderr.write(`${msg}\n`);
}

export function header(msg) {
  process.stderr.write(`== ${msg} ==\n`);
}

export function error(msg) {
  process.stderr.write(`\u2717  ${msg}\n`);
}
