// Fixture: utils/logger.ts — cross-cutting utility (high fan-in)
// Imported by almost every other module — tests cross-cutting detection

export function log(message: string): void {
  console.log(`[${new Date().toISOString()}] ${message}`);
}

export function warn(message: string): void {
  console.warn(`[WARN] ${message}`);
}

export function error(message: string, err?: Error): void {
  console.error(`[ERROR] ${message}`, err?.message || '');
}
