log static method

void log(
  1. dynamic log
)

Implementation

static void log(log) {
  if (!enableLogger) return;
  if (handleLogs != null) {
    handleLogs?.call(log);
  } else {
    developer.log(log.toString(), name: 'WhatsappBotFlutter');
  }
}