customLog method

dynamic customLog(
  1. String data
)

Implementation

customLog(String data) {
  bool status = checkEnv();
  if (status) {
    if (kDebugMode) {
      log(data);
    } else {
      debugPrint(data);
    }
  }
}