printAlert function

void printAlert(
  1. dynamic message, {
  2. Map<String, dynamic>? context,
  3. bool alwaysPrint = false,
})

Print a message to the console. Log level: Alert Use context to interpolate values into the message, e.g. 'User {id}' with {'id': '123'}.

Implementation

void printAlert(
  dynamic message, {
  Map<String, dynamic>? context,
  bool alwaysPrint = false,
}) {
  NyLogger.alert(message, context: context, alwaysPrint: alwaysPrint);
}