Future<void> updateHttpLog(HttpBean jsonLog) async { if (_useDB) { await _provider.updateHttpLog(jsonLog); } }