示例#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);