printLogs function

dynamic printLogs(
  1. Object? value
)

Print logs to console

Implementation

printLogs(Object? value) {
  String currentDate = DateFormat('yyyy-MM-dd HH:mm:ss').format(DateTime.now());
  if (MmUtils.instance!.isPrintLog()) {
    if (kDebugMode) {
      print("${MmUtils.instance!.getAppName()} $currentDate: $value");
    }
  }
}