packages/warriorjs-cli/src/ui/printLogMessage.js
function printLogMessage(unit, message) {
  const prompt = chalk.gray.dim('>');
  const logMessage = getUnitStyle(unit)(`${unit.name} ${message}`);
  printLine(`${prompt} ${logMessage}`);
}
function printLogMessage(unit, message) {
  const prompt = chalk.gray.dim('>');
  const logMessage = getUnitStyle(unit)(`${unit.name} ${message}`);
  printLine(`${prompt} ${logMessage}`);
}
function printLogMessage ( unit , message ) { const prompt = chalk . gray . dim ( '>' ) ; const logMessage = getUnitStyle ( unit ) ( ` ${ unit . name } ${ message } ` ) ; printLine ( ` ${ prompt } ${ logMessage } ` ) ; }
Prints a message to the log.

@param {Object} unit The unit the message belongs to.
@param {string} message The message to print.
Prints a message to the log .