writeLog function

dynamic writeLog(
  1. String message,
  2. LogStatus tag
)

In Development. Write logs to file functionality.

Implementation

writeLog(String message, LogStatus tag) {
  // String documentsPath = "/storage/emulated/0/Documents/rymedy_logs";
  // // create documents log directory
  // if(!Directory(documentsPath).existsSync()) {
  //   Directory(documentsPath).createSync(recursive: true);
  // }
}