addCurl static method
Implementation
static void addCurl(String curl) async {
final File file = await _getSameDayFile();
final DateTime date = DateTime.now();
String log = '';
log += '${DateTime.now().millisecondsSinceEpoch.toString()}-';
log += '${date.hour.toString()}:${date.minute.toString()}:${date.second.toString()} ';
log += '\n';
log += curl;
log += '\n';
IsolateUtil.instance.sendLog([file, log, true]);
}