logError static method

void logError(
  1. String message
)

Logs an error message.

Example:

Logger.logError('Transaction failed.');

Implementation

static void logError(String message) => log(message, level: 500);