예제 #1
0
        public void Warning(string message, Exception ex)
        {
            var exceptionText = ExceptionUtil.GetExceptionText(ex);

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

            WriteLog("Error", $"{message}: {exceptionText}");
        }