C# Class Microsoft.Legal.MatterCenter.Common.ErrorLogger

A class for logging error information into error file
ファイルを表示 Open project: Microsoft/mattercenter

Public Methods

Method Description
DisplayErrorMessage ( string input ) : void

Function is used to display error message on console

LogErrorToTextFile ( string filePath, string errorMessage ) : void

This function logs error message to specified text file

Method Details

DisplayErrorMessage() public static method

Function is used to display error message on console
public static DisplayErrorMessage ( string input ) : void
input string Message to display
return void

LogErrorToTextFile() public static method

This function logs error message to specified text file
public static LogErrorToTextFile ( string filePath, string errorMessage ) : void
filePath string Full path of error file
errorMessage string Error message to be logged
return void