getMessage static method

String getMessage(
  1. String message,
  2. String level
)

Implementation

static String getMessage(String message, String level) {
  return '[COS_CHASSIS $level ${DateTime.now().toLocal()}]: $message';
}