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

A class for logging error information into error file
Afficher le fichier Open project: Microsoft/mattercenter

Méthodes publiques

Méthode 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 méthode

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

LogErrorToTextFile() public static méthode

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
Résultat void