printError function

dynamic printError(
  1. dynamic message, {
  2. bool alwaysPrint = false,
})

Print a message to the console. Log level: Error

Implementation

printError(dynamic message, {bool alwaysPrint = false}) {
  NyLogger.error(message, alwaysPrint: alwaysPrint);
}