logOnOsLog method

Future<void> logOnOsLog({
  1. required String message,
  2. required String level,
  3. required String category,
})

Logs message using os_log, on category.

The OSLogType of the log depends on level as follow:

  • 'CONFIG' and 'INFO': OSLogType.info;
  • 'WARNING': OSLogType.error;
  • 'SEVERE' and 'SHOUT': OSLogType.fault;
  • others: OSLogType.debug.

Implementation

Future<void> logOnOsLog({
  required String message,
  required String level,
  required String category,
}) {
  throw UnimplementedError('logOnOsLog(_, _, _) has not been implemented.');
}