public async Task <bool> SaveErrorLogAsync(Logs log) { try { await logsProcessor.SaveAsync(log); return(true); } catch (Exception) { return(false); } }
public async Task <int> SaveErrorLog(Logs log, CancellationToken token) => await logsProcessor.SaveAsync(log, token);