warn static method

void warn(
  1. dynamic text
)

log the text using warn color (yellow)

DoxLogger.info('careful!');

Implementation

static void warn(dynamic text) {
  print('\x1B[34m$text\x1B[0m');
}