Пример #1
0
 /// <summary>
 /// Writes <see cref="IOperationReport"/> error to the log.
 /// </summary>
 /// <param name="report">Some operation report.</param>
 /// <param name="message">The custom error description.</param>
 protected void LogError(IOperationReport report, string message) => Log.LogError(report.Error, message);
Пример #2
0
 /// <summary>
 /// Writes <see cref="IOperationReport"/> error to the log.
 /// </summary>
 /// <param name="report">Some operation report.</param>
 protected void LogError(IOperationReport report) => Log.LogError(report.Error, report.Message);