public void Warning(string message, Exception ex) { var exceptionText = ExceptionUtil.GetExceptionText(ex); WriteLog("Warning", $"{message}: {exceptionText}"); }
public void Error(string message, Exception ex) { var exceptionText = ExceptionUtil.GetExceptionText(ex); WriteLog("Error", $"{message}: {exceptionText}"); }