log method

void log(
  1. String line
)

Adds line to the task's output. While it runs, the last line shows dim under the task; a failed task shows its output. In plain mode each line is printed at once, prefixed with the task's title.

Implementation

void log(String line) => _run._log(this, line);