log static method

String log(
  1. String message, {
  2. bool error = true,
})

Logs a message with the prefix 'LOG'.

Implementation

static String log(String message, {bool error = true}) {
  String output = '[LOG] $message';
  out(output, error: error);

  // Return for testing.
  return output;
}