printError function

dynamic printError(
  1. dynamic text, {
  2. dynamic name = '📕: error',
})

Implementation

printError(text, {name = '📕: error'}) =>
    _log('\x1B[31m --- $text --- \x1B[0m', name);