log static method

void log(
  1. String message
)

Writes a timestamped message to the log file.

Implementation

static void log(String message) {
  _sink?.writeln('[${DateTime.now()}] $message');
}