WebMarkupMin.Core.GenericHtmlMinifier.WriteError C# (CSharp) 메소드

WriteError() 개인적인 메소드

Writes a information about the error
private WriteError ( string category, string message, string filePath, int lineNumber, int columnNumber, string sourceFragment ) : void
category string Error category
message string Error message
filePath string File path
lineNumber int Line number on which the error occurred
columnNumber int Column number on which the error occurred
sourceFragment string Fragment of source svgContent
리턴 void
        private void WriteError(string category, string message, string filePath, int lineNumber, int columnNumber,
			string sourceFragment)
        {
            _errors.Add(new MinificationErrorInfo(category, message, lineNumber, columnNumber, sourceFragment));
            _logger.Error(category, message, filePath, lineNumber, columnNumber, sourceFragment);
        }