logSubprocessHeader function
Implementation
void logSubprocessHeader(Logger logger, String command,
{Level level = Level.INFO}) {
final numColumns = io.stdout.hasTerminal ? io.stdout.terminalColumns : 79;
logger.log(level,
'Running subprocess:\n${magenta.wrap(command)}\n${'-' * numColumns}\n');
}