Ejemplo n.º 1
0
 /// <summary>
 /// Asynchronously logs an error in log for the application.
 /// </summary>
 /// <param name="error">The error to log.</param>
 protected virtual Task <bool> LogErrorAsync(Error error) => Task.FromResult(LogError(error));
Ejemplo n.º 2
0
 /// <summary>
 /// Logs an error in log for the application.
 /// </summary>
 /// <param name="error">The error to log.</param>
 protected abstract bool LogError(Error error);